gnu: Add rust-assert-fs-1.

* gnu/packages/crates-io.scm (rust-assert-fs-1): New variable.
(rust-assert-fs-0.11): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
phodina 2021-09-03 22:27:31 +00:00 committed by Nicolas Goaziou
parent bb49701461
commit 464325a7b0
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2715,8 +2715,35 @@ (define-public rust-assert-cmd-0.9
#:cargo-development-inputs
(("rust-docmatic" ,rust-docmatic-0.1))))))
(define-public rust-assert-fs-1
(package
(name "rust-assert-fs")
(version "1.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "assert-fs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0rcllf1d1l121fnsxy84bbqkg1sym5gs4mp0aw1nyv3f0sinmjmh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-globwalk" ,rust-globwalk-0.8)
("rust-predicates" ,rust-predicates-2)
("rust-predicates-core" ,rust-predicates-core-1)
("rust-predicates-tree" ,rust-predicates-tree-1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/assert-rs/assert_fs")
(synopsis "Filesystem fixtures and assertions for testing")
(description
"This crate provides file system fixtures and assertions for testing.")
(license (list license:expat license:asl2.0))))
(define-public rust-assert-fs-0.11
(package
(inherit rust-assert-fs-1)
(name "rust-assert-fs")
(version "0.11.3")
(source
@ -2728,7 +2755,6 @@ (define-public rust-assert-fs-0.11
(sha256
(base32
"1h1q90qskbylv4g3jyizdanj73835q7vvq7q10y555x4gnavmrjc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-globwalk" ,rust-globwalk-0.5)
@ -2737,12 +2763,7 @@ (define-public rust-assert-fs-0.11
("rust-predicates-tree" ,rust-predicates-tree-1)
("rust-tempfile" ,rust-tempfile-3))
#:cargo-development-inputs
(("rust-docmatic" ,rust-docmatic-0.1))))
(home-page "https://github.com/assert-rs/assert_fs")
(synopsis "File system fixtures and assertions for testing")
(description
"File system fixtures and assertions for testing.")
(license (list license:expat license:asl2.0))))
(("rust-docmatic" ,rust-docmatic-0.1))))))
(define-public rust-assert-json-diff-1
(package