gnu: Add rust-rstest-test-0.11.

* gnu/packages/crates-io.scm (rust-rstest-test-0.11): New variable.
(rust-rstest-test-0.9): Inherit from rust-rstest-test-0.11.

Change-Id: I1f42a09a5ff8b5f0cdcd18dbb438313510a88bae
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Jaeme Sifat 2023-12-19 22:54:43 -05:00 committed by Efraim Flashner
parent 534ef7cbf4
commit 2157c6dde4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -66055,8 +66055,37 @@ (define-public rust-rstest-reuse-0.3
("rust-rustc-version" ,rust-rustc-version-0.4)
("rust-syn" ,rust-syn-1))))))
(define-public rust-rstest-test-0.11
(package
(name "rust-rstest-test")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rstest_test" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "16z1525ww9n1x94mvvgd6zcpxc2pzlf1r031kryk383lgd3wgi9p"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests expect rustup
#:cargo-inputs
(("rust-regex" ,rust-regex-1)
("rust-toml-edit" ,rust-toml-edit-0.19))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-rstest" ,rust-rstest-0.16)
("rust-temp-testdir" ,rust-temp-testdir-0.2))))
(home-page "https://github.com/la10736/rstest")
(synopsis "Provides some utilities used to write rstest crate's tests")
(description
"This package provides some utilities used to write the rstest crate's
tests.")
(license (list license:expat license:asl2.0))))
(define-public rust-rstest-test-0.9
(package
(inherit rust-rstest-test-0.11)
(name "rust-rstest-test")
(version "0.9.0")
(source
@ -66066,20 +66095,15 @@ (define-public rust-rstest-test-0.9
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0bdy2pni88vh6m2w2mk0wj5hsgka4yslwv472wyfk6794ilgl203"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests expect rustup
#:cargo-inputs (("rust-regex" ,rust-regex-1)
("rust-toml-edit" ,rust-toml-edit-0.15))
#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
("rust-rstest" ,rust-rstest-0.15)
("rust-temp-testdir" ,rust-temp-testdir-0.2))))
(home-page "https://github.com/la10736/rstest")
(synopsis "Provides some utilities used to write rstest crate's tests")
(description
"This package provides some utilities used to write the rstest crate's
tests.")
(license (list license:expat license:asl2.0))))
#:cargo-inputs
(("rust-regex" ,rust-regex-1)
("rust-toml-edit" ,rust-toml-edit-0.15))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-rstest" ,rust-rstest-0.15)
("rust-temp-testdir" ,rust-temp-testdir-0.2))))))
(define-public rust-rug-1
(package