Subject: [PATCH v6 17/44] gnu: Add rust-test-strategy-0.4.

From: Jordan Moore <[email-masked]>
Date: Fri, 10 Jan 2025 20:57:29 -0500

* gnu/packages/crates-io.scm (rust-test-strategy-0.4): New variable.

Change-Id: I7694bf04189a4f7db480eb6ecbaa58ea6ca3e000
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 553d509d94..4d4eb62cd2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80609,33 +80609,56 @@ (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
+     "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-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)
-- 
2.46.0