Subject: [bug#67592] [PATCH 03/20] gnu: rust-rstest: Update to 0.18.2.

From: Rémi Teissier <[email-masked]>
Date: Tue, 12 Dec 2023 22:16:41 +0100

Change-Id: I815109d560fb6fcddc377f08da3846f3fe8f3891
---
 gnu/packages/crates-io.scm | 77 ++++++++++++++++++++++++++++++++++----
 1 file changed, 70 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f3f38348fcd..0676042ef86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59191,8 +59191,77 @@ (define-public rust-rstar-0.8
          (base32
           "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))))
 
+(define-public rust-rstest-0.18
+  (package
+    (name "rust-rstest")
+    (version "0.18.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstest" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1681ncnlzhc8894idm3pqf40nndn4k4kcp0kpv29n68a7hpspvlp"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+         (("rust-futures" ,rust-futures-0.3)
+          ("rust-rstest-macros" ,rust-rstest-macros-0.18)
+          ("rust-rustc-version" ,rust-rustc-version-0.4)
+          ("rust-futures-timer" ,rust-futures-timer-3))))
+    (home-page "https://github.com/la10736/rstest")
+    (synopsis "Rust fixture based test framework")
+    (description
+     "@code{rstest} uses procedural macros to help you write fixtures
+and table-based tests.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-rstest-0.17
+  (package
+    (inherit rust-rstest-0.18)
+    (name "rust-rstest")
+    (version "0.17.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstest" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0qnrx40c05ziz2sxhrj0i4pamvlip8cx7w62439qr1wils3b86yy"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+         (("rust-futures-timer" ,rust-futures-timer-3)
+          ("rust-rstest-macros" ,rust-rstest-macros-0.17)
+          ("rust-rustc-version" ,rust-rustc-version-0.4)
+          ("rust-futures" ,rust-futures-0.3))))))
+
+(define-public rust-rstest-0.16
+  (package
+    (inherit rust-rstest-0.17)
+    (name "rust-rstest")
+    (version "0.16.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstest" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1pqfpj727hkn4rr7nspnaab0h74gl9yxqlb53vn9h8a7dhbjszxh"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+         (("rust-futures-timer" ,rust-futures-timer-3)
+          ("rust-rstest-macros" ,rust-rstest-macros-0.16)
+          ("rust-rustc-version" ,rust-rustc-version-0.4)
+          ("rust-futures" ,rust-futures-0.3))))))
+
 (define-public rust-rstest-0.15
   (package
+    (inherit rust-rstest-0.16)
     (name "rust-rstest")
     (version "0.15.0")
     (source
@@ -59209,13 +59278,7 @@ (define-public rust-rstest-0.15
            `(("rust-futures" ,rust-futures-0.3)
              ("rust-futures-timer" ,rust-futures-timer-3)
              ("rust-rstest-macros" ,rust-rstest-macros-0.14)
-             ("rust-rustc-version" ,rust-rustc-version-0.3))))
-    (home-page "https://github.com/la10736/rstest")
-    (synopsis "Rust fixture based test framework")
-    (description
-     "@code{rstest} uses procedural macros to help you write fixtures
-and table-based tests.")
-    (license (list license:expat license:asl2.0))))
+             ("rust-rustc-version" ,rust-rustc-version-0.3))))))
 
 (define-public rust-rstest-0.12
   (package
-- 
2.41.0