mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-13 16:40:40 +02:00
gnu: Add rust-rstest-reuse-0.7.
* gnu/packages/crates-io.scm (rust-rstest-reuse-0.7): New variable. (rust-rstest-reuse-0.6): Inherit from rust-rstest-reuse-0.7. Change-Id: I57a1258033d8f6591f0e2a8eda408f4a10c00695
This commit is contained in:
committed by
Hilton Chain
parent
9b3840ac5e
commit
af7955144e
@@ -68398,8 +68398,36 @@ procedural macro to implement fixtures and table based tests.")
|
||||
("rust-rustc-version" ,rust-rustc-version-0.4)
|
||||
("rust-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-rstest-reuse-0.7
|
||||
(package
|
||||
(name "rust-rstest-reuse")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "rstest_reuse" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "057y4v1rh9br58n2m3xqvm8xyx8k96jpgibgls3sah78f93gpa5k"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; use of undeclared crate or module `rstest_test`
|
||||
#:cargo-inputs (("rust-quote" ,rust-quote-1)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-syn" ,rust-syn-2))
|
||||
#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-rstest" ,rust-rstest-0.19)
|
||||
("rust-temp-testdir" ,rust-temp-testdir-0.2))))
|
||||
(home-page "https://github.com/la10736/rstest")
|
||||
(synopsis "Reuse rstest attributes")
|
||||
(description
|
||||
"This package provides a Rust library for reusing rstest attributes by
|
||||
creating a set of tests and applying it to every scenario you want to test.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-rstest-reuse-0.6
|
||||
(package
|
||||
(inherit rust-rstest-reuse-0.7)
|
||||
(name "rust-rstest-reuse")
|
||||
(version "0.6.0")
|
||||
(source
|
||||
@@ -68409,7 +68437,6 @@ procedural macro to implement fixtures and table based tests.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "191l5gfwx9rmkqd48s85fkh21b73f38838fc896r4rxy39l0nlw8"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests expect rustup
|
||||
#:cargo-inputs (("rust-quote" ,rust-quote-1)
|
||||
@@ -68419,13 +68446,7 @@ procedural macro to implement fixtures and table based tests.")
|
||||
#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-rstest" ,rust-rstest-0.18)
|
||||
("rust-rstest-test" ,rust-rstest-test-0.11)
|
||||
("rust-temp-testdir" ,rust-temp-testdir-0.2))))
|
||||
(home-page "https://github.com/la10736/rstest")
|
||||
(synopsis "Reuse rstest attributes")
|
||||
(description
|
||||
"This package provides a Rust library for reusing rstest attributes by
|
||||
creating a set of tests and applying it to every scenario you want to test.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-temp-testdir" ,rust-temp-testdir-0.2))))))
|
||||
|
||||
(define-public rust-rstest-reuse-0.4
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user