guix-commits
[Top][All Lists]
Advanced

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

19/25: gnu: Add rust-ntest-timeout-0.8.


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

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

commit 73a0894aa5722146977367886f6441431bd69af5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:57:01 2023 +0200

    gnu: Add rust-ntest-timeout-0.8.
    
    * gnu/packages/crates-io.scm (rust-ntest-timeout-0.8): New variable.
    (rust-ntest-timeout-0.3): Inherit from rust-ntest-timeout-0.8.
---
 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 39ddb9197f..5fe2c3e8dd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37757,31 +37757,51 @@ enhances the built-in library with some useful 
features.")
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
-(define-public rust-ntest-timeout-0.3
+(define-public rust-ntest-timeout-0.8
   (package
     (name "rust-ntest-timeout")
-    (version "0.3.3")
+    (version "0.8.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "ntest_timeout" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0klryn3rgjxnq3cv6j8bwcsr0b7zw3x216h63144v22aja18p0g0"))))
+        (base32 "01vcdlz9xj471z5knk2qynm7adz3p614glf6n0pgn161qynym9mw"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-proc-macro2" ,rust-proc-macro2-1)
+       (("rust-ntest-proc-macro-helper" ,rust-ntest-proc-macro-helper-0.8)
+        ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1)
-        ("rust-timebomb" ,rust-timebomb-0.1))))
+        ("rust-syn" ,rust-syn-1))))
     (home-page "https://github.com/becheran/ntest";)
     (synopsis "Timeout attribute for the ntest framework")
     (description "This package provides a timeout attribute for the ntest
 framework.")
     (license license:expat)))
 
+(define-public rust-ntest-timeout-0.3
+  (package
+    (inherit rust-ntest-timeout-0.8)
+    (name "rust-ntest-timeout")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ntest_timeout" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0klryn3rgjxnq3cv6j8bwcsr0b7zw3x216h63144v22aja18p0g0"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-timebomb" ,rust-timebomb-0.1))))))
+
 (define-public rust-num-0.4
   (package
     (name "rust-num")



reply via email to

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