[bug#75127,18/67] gnu: Add rust-test-strategy-0.4.

Message ID ccf4af500cc28a4274ac5334e26f1c1904533eca.1735253329.git.lockbox@struct.foo
State New
Headers
Series rust-team: Add cargo-nextest |

Commit Message

Jordan Moore Dec. 26, 2024, 11:10 p.m. UTC
  * gnu/packages/crates-io.scm (rust-test-strategy-0.4): New variable.

Change-Id: I7694bf04189a4f7db480eb6ecbaa58ea6ca3e000
---
 gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92e45bfe09..aa7a268e89 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88455,36 +88455,59 @@  (define-public rust-test-log-macros-0.2
      "This package provides supporting procedural macro crate for test-log.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-test-strategy-0.3
+(define-public rust-test-strategy-0.4
   (package
     (name "rust-test-strategy")
-    (version "0.3.1")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "test-strategy" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1nf11267xdcflg1ir25na0s8mbrwh9f0zmzykg88l8jlhn01qdmq"))))
+        (base32 "06z0slp3ckxfsynq3772jy1dlasv3pa2kmii90ccqm1zbvs1mx1b"))))
     (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.2)
+                       ("rust-structmeta" ,rust-structmeta-0.3)
                        ("rust-syn" ,rust-syn-2))
        #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)
                                    ("rust-tokio" ,rust-tokio-1)
                                    ("rust-trybuild" ,rust-trybuild-1))))
     (home-page "https://github.com/frozenlib/test-strategy")
-    (synopsis "Macro to write higher-order strategies in proptest")
+    (synopsis
+     "Procedural macro to easily write higher-order strategies in proptest")
     (description
-     "This package provides a procedural macro to easily write higher-order
+     "This package provides Procedural macro to easily write higher-order
 strategies in proptest.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-test-strategy-0.3
+  (package
+    (inherit rust-test-strategy-0.4)
+    (name "rust-test-strategy")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "test-strategy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nf11267xdcflg1ir25na0s8mbrwh9f0zmzykg88l8jlhn01qdmq"))))
+    (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.2)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)
+                                   ("rust-tokio" ,rust-tokio-1)
+                                   ("rust-trybuild" ,rust-trybuild-1))))))
+
 (define-public rust-test-strategy-0.2
   (package
-    (inherit rust-test-strategy-0.3)
+    (inherit rust-test-strategy-0.4)
     (name "rust-test-strategy")
     (version "0.2.1")
     (source (origin