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 @@ (define-public rust-regex-syntax-0.3
(define-public rust-remove-dir-all-0.5 (define-public rust-remove-dir-all-0.5
(package (package
(name "rust-remove-dir-all") (name "rust-remove-dir-all")
(version "0.5.2") (version "0.5.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "remove_dir_all" version)) (uri (crate-uri "remove_dir_all" version))
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (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) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:cargo-inputs
#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3)) (("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3)))) (("rust-doc-comment" ,rust-doc-comment-0.3))))