summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-12-19 22:54:40 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:44 +0200
commitc920c6ef1b7d24b9bd7466343f483c014aa94831 (patch)
tree7aae9e6498e46132aa555a0a6b51bd40bbac47eb
parent95a7708a6b1767b58ae6775735aec825422244ec (diff)
downloadguix-c920c6ef1b7d24b9bd7466343f483c014aa94831.tar.gz
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 <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
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")