From c920c6ef1b7d24b9bd7466343f483c014aa94831 Mon Sep 17 00:00:00 2001 From: Jaeme Sifat Date: Tue, 19 Dec 2023 22:54:40 -0500 Subject: gnu: Add rust-rstest-test-0.9. * gnu/packages/crates-io.scm (rust-rstest-test-0.9): New variable. Change-Id: I038d363026cfdbd58030c0cdce6e3b2f9b850936 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9a0d6bdacc..aff27568f6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -65993,6 +65993,32 @@ scenario you want to test.") ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-rstest-test-0.9 + (package + (name "rust-rstest-test") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_test" version)) + (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)))) + (define-public rust-rug-1 (package (name "rust-rug") -- cgit 1.4.1