mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 10:55:23 -05:00
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>
This commit is contained in:
parent
925c47f65a
commit
faf059d30c
1 changed files with 27 additions and 8 deletions
|
@ -65740,8 +65740,34 @@ (define-public rust-rstar-0.8
|
|||
("rust-rand-hc" ,rust-rand-hc-0.2)
|
||||
("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
|
||||
(package
|
||||
(inherit rust-rstest-0.17)
|
||||
(name "rust-rstest")
|
||||
(version "0.15.0")
|
||||
(source
|
||||
|
@ -65751,20 +65777,13 @@ (define-public rust-rstest-0.15
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:skip-build? #t
|
||||
#:cargo-inputs
|
||||
`(("rust-futures" ,rust-futures-0.3)
|
||||
("rust-futures-timer" ,rust-futures-timer-3)
|
||||
("rust-rstest-macros" ,rust-rstest-macros-0.14)
|
||||
("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))))
|
||||
("rust-rustc-version" ,rust-rustc-version-0.3))))))
|
||||
|
||||
(define-public rust-rstest-0.13
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue