gnu: rust-remove-dir-all-0.5: Update to 0.5.3.

* gnu/packages/crates-io.scm (rust-remove-dir-all-0.5): Update to 0.5.3.
[source]: Add snippet to replace doctest with test.
[arguments]: Don't skip build.
This commit is contained in:
Efraim Flashner 2020-07-09 16:03:29 +03:00
parent 1d8a26efb4
commit 0b5010336f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -19736,19 +19736,25 @@ uses finite automata and guarantees linear time matching on all inputs.")
(define-public rust-remove-dir-all-0.5
(package
(name "rust-remove-dir-all")
(version "0.5.2")
(version "0.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "remove_dir_all" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
"1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s"))
(modules '((guix build utils)))
(snippet
'(begin
;; 'doctest' isn't stable until rust-1.40
(substitute* "src/lib.rs"
(("\\(doctest") "(test"))
#t))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3))))