summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
author( <paren@disroot.org>2022-11-29 07:01:02 +0000
committerTobias Geerinckx-Rice <me@tobias.gr>2022-11-27 01:00:08 +0100
commit8abe78a890d7b21f064bf9782a0ba25b7bf526ed (patch)
treebba763d6c49a7abb00abc1125d903efa7292a42f /gnu/packages/crates-io.scm
parent12109a6308b71de6263a42035817cae24896f8da (diff)
downloadguix-8abe78a890d7b21f064bf9782a0ba25b7bf526ed.tar.gz
gnu: Add rust-rstest-reuse-0.4.
* gnu/packages/crates-io.scm (rust-rstest-reuse-0.4): New variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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 cc11765eaf..cf9bd5f850 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47037,6 +47037,32 @@ and table-based tests.")
 @code{rstest}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rstest-reuse-0.4
+  (package
+    (name "rust-rstest-reuse")
+    (version "0.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rstest-reuse" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "05zcs22fbvv7q50p2xs6w13lqbcklddnj2dm1mz1wi2pak9sxdgr"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #t
+           #:cargo-inputs
+           `(("rust-quote" ,rust-quote-1)
+             ("rust-rustc-version" ,rust-rustc-version-0.4)
+             ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/la10736/rstest")
+    (synopsis "Reuse rstest attributes")
+    (description
+     "This package provides a Rust library for reusing rstest
+attributes by creating a set of tests and applying it to every
+scenario you want to test.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rug-1
   (package
     (name "rust-rug")