gnu: Add rust-rstest-0.22.

* gnu/packages/crates-io.scm (rust-rstest-0.22): New variable.

Change-Id: Ida2b314e9fe829f269111a31b924f8271c5227af
This commit is contained in:
Efraim Flashner 2024-12-29 21:51:24 +02:00
parent 7095a1d9f6
commit 5efa028302
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -66894,6 +66894,34 @@ (define-public rust-rstest-0.23
procedural macro to implement fixtures and table based tests.")
(license (list license:expat license:asl2.0))))
(define-public rust-rstest-0.22
(package
(inherit rust-rstest-0.23)
(name "rust-rstest")
(version "0.22.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rstest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0dlrn6y4z5xgsvf6ky3lrjwsxpvi13sizlkwnqs1gmmxc873yhkv"))))
(arguments
`(#:tests? #f ; use of undeclared crate or module `rstest_test`
#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
("rust-futures-timer" ,rust-futures-timer-3)
("rust-rstest-macros" ,rust-rstest-macros-0.22)
("rust-rustc-version" ,rust-rustc-version-0.4))
#:cargo-development-inputs
(("rust-actix-rt" ,rust-actix-rt-2)
("rust-async-std" ,rust-async-std-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-rstest" ,rust-rstest-0.21)
("rust-temp-testdir" ,rust-temp-testdir-0.2)
("rust-tokio" ,rust-tokio-1)
("rust-unindent" ,rust-unindent-0.2))))))
(define-public rust-rstest-0.21
(package
(inherit rust-rstest-0.23)