guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

347/475: gnu: Add rust-test-strategy-0.2.


From: guix-commits
Subject: 347/475: gnu: Add rust-test-strategy-0.2.
Date: Sun, 7 May 2023 12:48:06 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit d7e32a4ba207ab38aa4af0dfdfad2bb0db294795
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Mar 23 08:29:56 2023 +0100

    gnu: Add rust-test-strategy-0.2.
    
    * gnu/packages/crates-io.scm (rust-test-strategy-0.2): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cffa3b1cae..cfefec2757 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62519,6 +62519,34 @@ one body with different resource input parameters.  A 
test is generated for
 each resource matching the specific resource location pattern.")
     (license license:asl2.0)))
 
+(define-public rust-test-strategy-0.2
+  (package
+    (name "rust-test-strategy")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "test-strategy" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "105lxqs0vnqff5821sgns8q1scvrwfx1yw6iz7i7nr862j6l1mk2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-structmeta" ,rust-structmeta-0.1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-proptest" ,rust-proptest-1)
+        ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/frozenlib/test-strategy";)
+    (synopsis "Macro to write higher-order strategies in proptest")
+    (description
+     "This package provides a procedural macro to easily write higher-order
+strategies in proptest.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tester-0.9
   (package
     (name "rust-tester")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]