mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
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:
parent
1d8a26efb4
commit
0b5010336f
1 changed files with 11 additions and 5 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Reference in a new issue