summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-12-19 22:54:43 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:45 +0200
commit2157c6dde49f76c403c1994b761e29d68fa25b93 (patch)
tree6d233f0ff2a12bada8f72f1771ce88aca7038d57
parent534ef7cbf41260daca4fe08e864229e5aa718e6d (diff)
downloadguix-2157c6dde49f76c403c1994b761e29d68fa25b93.tar.gz
gnu: Add rust-rstest-test-0.11.
* gnu/packages/crates-io.scm (rust-rstest-test-0.11): New variable.
(rust-rstest-test-0.9): Inherit from rust-rstest-test-0.11.

Change-Id: I1f42a09a5ff8b5f0cdcd18dbb438313510a88bae
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm40
1 files changed, 32 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 365b06e8ff..ee25add039 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66055,25 +66055,27 @@ scenario you want to test.")
              ("rust-rustc-version" ,rust-rustc-version-0.4)
              ("rust-syn" ,rust-syn-1))))))
 
-(define-public rust-rstest-test-0.9
+(define-public rust-rstest-test-0.11
   (package
     (name "rust-rstest-test")
-    (version "0.9.0")
+    (version "0.11.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rstest_test" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0bdy2pni88vh6m2w2mk0wj5hsgka4yslwv472wyfk6794ilgl203"))))
+        (base32 "16z1525ww9n1x94mvvgd6zcpxc2pzlf1r031kryk383lgd3wgi9p"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; Tests expect rustup
-       #: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))))
+       #:cargo-inputs
+       (("rust-regex" ,rust-regex-1)
+        ("rust-toml-edit" ,rust-toml-edit-0.19))
+       #:cargo-development-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-rstest" ,rust-rstest-0.16)
+        ("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")
     (description
@@ -66081,6 +66083,28 @@ scenario you want to test.")
 tests.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rstest-test-0.9
+  (package
+    (inherit rust-rstest-test-0.11)
+    (name "rust-rstest-test")
+    (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 "0bdy2pni88vh6m2w2mk0wj5hsgka4yslwv472wyfk6794ilgl203"))))
+    (arguments
+     `(#:tests? #f      ; Tests expect rustup
+       #: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))))))
+
 (define-public rust-rug-1
   (package
     (name "rust-rug")