guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/25: gnu: Add rust-ntest-test-cases-0.8.


From: guix-commits
Subject: 18/25: gnu: Add rust-ntest-test-cases-0.8.
Date: Wed, 22 Feb 2023 14:05:16 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit f9a5b7d2b0796ef9cd1f5a412f605cf77485ff54
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:55:44 2023 +0200

    gnu: Add rust-ntest-test-cases-0.8.
    
    * gnu/packages/crates-io.scm (rust-ntest-test-cases-0.8): New variable.
    (rust-ntest-test-cases-0.3): Inherit from rust-ntest-test-cases-0.8.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb57b52919..39ddb9197f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37716,18 +37716,17 @@ enhances the built-in library with some useful 
features.")
         ("rust-ntest-timeout" ,rust-ntest-timeout-0.3)
         ("rust-timebomb" ,rust-timebomb-0.1))))))
 
-(define-public rust-ntest-test-cases-0.3
+(define-public rust-ntest-test-cases-0.8
   (package
     (name "rust-ntest-test-cases")
-    (version "0.3.4")
+    (version "0.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "ntest_test_cases" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0b67m368599b2zgwx19psqz6n3m9m5532h1257x6vz1pym3gd2na"))))
+        (base32 "03ip2dpi7fd2wyz99yd17w302nci3b05slbl3rr6dfs2683ayz3g"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -37739,6 +37738,25 @@ enhances the built-in library with some useful 
features.")
     (description "This package provides test cases for ntest framework.")
     (license license:expat)))
 
+(define-public rust-ntest-test-cases-0.3
+  (package
+    (inherit rust-ntest-test-cases-0.8)
+    (name "rust-ntest-test-cases")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ntest_test_cases" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0b67m368599b2zgwx19psqz6n3m9m5532h1257x6vz1pym3gd2na"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-ntest-timeout-0.3
   (package
     (name "rust-ntest-timeout")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]