me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-rstest-0.17.

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

Change-Id: I75babb1174e1e0f1c55267b342f2f678b3309c3a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Sergio Pastor Pérez 2023-11-28 22:12:02 +01:00 committed by Efraim Flashner
parent 925c47f65a
commit faf059d30c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 8 deletions

View File

@ -65740,8 +65740,34 @@ contains the API endpoint response objects.")
("rust-rand-hc" ,rust-rand-hc-0.2) ("rust-rand-hc" ,rust-rand-hc-0.2)
("rust-serde-json" ,rust-serde-json-1)))))) ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-rstest-0.17
(package
(name "rust-rstest")
(version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rstest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qnrx40c05ziz2sxhrj0i4pamvlip8cx7w62439qr1wils3b86yy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; requires rust-artix-rt@2.7.0
#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
("rust-futures-timer" ,rust-futures-timer-3)
("rust-rstest-macros" ,rust-rstest-macros-0.17)
("rust-rustc-version" ,rust-rustc-version-0.4))))
(home-page "https://github.com/la10736/rstest")
(synopsis "Rust fixture based test framework")
(description
"@code{rstest} uses procedural macros to help you write fixtures
and table-based tests.")
(license (list license:expat license:asl2.0))))
(define-public rust-rstest-0.15 (define-public rust-rstest-0.15
(package (package
(inherit rust-rstest-0.17)
(name "rust-rstest") (name "rust-rstest")
(version "0.15.0") (version "0.15.0")
(source (source
@ -65751,20 +65777,13 @@ contains the API endpoint response objects.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9")))) (base32 "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9"))))
(build-system cargo-build-system)
(arguments (arguments
(list #:skip-build? #t (list #:skip-build? #t
#:cargo-inputs #:cargo-inputs
`(("rust-futures" ,rust-futures-0.3) `(("rust-futures" ,rust-futures-0.3)
("rust-futures-timer" ,rust-futures-timer-3) ("rust-futures-timer" ,rust-futures-timer-3)
("rust-rstest-macros" ,rust-rstest-macros-0.14) ("rust-rstest-macros" ,rust-rstest-macros-0.14)
("rust-rustc-version" ,rust-rustc-version-0.3)))) ("rust-rustc-version" ,rust-rustc-version-0.3))))))
(home-page "https://github.com/la10736/rstest")
(synopsis "Rust fixture based test framework")
(description
"@code{rstest} uses procedural macros to help you write fixtures
and table-based tests.")
(license (list license:expat license:asl2.0))))
(define-public rust-rstest-0.13 (define-public rust-rstest-0.13
(package (package