Subject: [bug#67919] [PATCH 18/55] gnu: Add rust-rstest-test-0.9.

From: Jaeme Sifat <[email-masked]>
Date: Tue, 19 Dec 2023 22:54:40 -0500

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

Change-Id: I038d363026cfdbd58030c0cdce6e3b2f9b850936
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b15ce87d2..7178d48054 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64038,24 +64038,24 @@ (define-public rust-rstest-reuse-0.1
                        ("rust-rustc-version" ,rust-rustc-version-0.3)
                        ("rust-syn" ,rust-syn-1))))))
 
-(define-public rust-rstest-test-0.2
+(define-public rust-rstest-test-0.9
   (package
     (name "rust-rstest-test")
-    (version "0.2.0")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rstest_test" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0bv429k1n9wspnds5w0bl6d49dfj1cx08gncjqjnp084v8q73d73"))))
+        (base32 "0bdy2pni88vh6m2w2mk0wj5hsgka4yslwv472wyfk6794ilgl203"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-test-flags '("--release" "--" "--skip=add_local_dependency"
-                            "--skip=more_tests" "--skip=one_fail"
-                            "--skip=one_success")
-       #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.1))
+     `(#:tests? #f
+       #:cargo-inputs (("rust-regex" ,rust-regex-1)
+                       ("rust-toml-edit" ,rust-toml-edit-0.15))
        #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-rstest" ,rust-rstest-0.15)
                                    ("rust-temp-testdir" ,rust-temp-testdir-0.2))))
     (home-page "https://github.com/la10736/rstest")
     (synopsis "Provides some utilities used to write rstest crate's tests")
@@ -64064,6 +64064,26 @@ (define-public rust-rstest-test-0.2
 tests.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rstest-test-0.2
+  (package
+    (inherit rust-rstest-test-0.9)
+    (name "rust-rstest-test")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rstest_test" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bv429k1n9wspnds5w0bl6d49dfj1cx08gncjqjnp084v8q73d73"))))
+    (arguments
+     `(#:cargo-test-flags '("--release" "--" "--skip=add_local_dependency"
+                            "--skip=more_tests" "--skip=one_fail"
+                            "--skip=one_success")
+       #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.1))
+       #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-temp-testdir" ,rust-temp-testdir-0.2))))))
+
 (define-public rust-rug-1
   (package
     (name "rust-rug")
-- 
2.41.0