guix-commits
[Top][All Lists]
Advanced

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

17/25: gnu: Add rust-ntest-0.8.


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

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

commit f11500941a72a20b27939680da0b3c1a0994bdcb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:54:31 2023 +0200

    gnu: Add rust-ntest-0.8.
    
    * gnu/packages/crates-io.scm (rust-ntest-0.8): New variable.
    (rust-ntest-0.3): Inherit from rust-ntest-0.8.
---
 gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7331d064a7..cb57b52919 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37667,8 +37667,35 @@ with all line endings.")
     (description "FFI bindings for Native API")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-ntest-0.8
+  (package
+    (name "rust-ntest")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ntest" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1yyih3b0bcr9gj11m9xj330as2sjihblkmb2bmv10lp38q5m0rg8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ntest-proc-macro-helper" ,rust-ntest-proc-macro-helper-0.8)
+        ("rust-ntest-test-cases" ,rust-ntest-test-cases-0.8)
+        ("rust-ntest-timeout" ,rust-ntest-timeout-0.8))
+       #:cargo-development-inputs
+       (("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/becheran/ntest";)
+    (synopsis "Testing framework for Rust")
+    (description "This package provides a testing framework for Rust which
+enhances the built-in library with some useful features.")
+    (license license:expat)))
+
 (define-public rust-ntest-0.3
   (package
+    (inherit rust-ntest-0.8)
     (name "rust-ntest")
     (version "0.3.3")
     (source
@@ -37679,7 +37706,6 @@ with all line endings.")
        (sha256
         (base32
          "04cljndihkcqqwj061bgpnxyv7wqbd3f91ag1b3ryrayn7rrclxv"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3)
@@ -37688,12 +37714,7 @@ with all line endings.")
        #:cargo-development-inputs
        (("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3)
         ("rust-ntest-timeout" ,rust-ntest-timeout-0.3)
-        ("rust-timebomb" ,rust-timebomb-0.1))))
-    (home-page "https://github.com/becheran/ntest";)
-    (synopsis "Testing framework for Rust")
-    (description "This package provides a testing framework for Rust which
-enhances the built-in library with some useful features.")
-    (license license:expat)))
+        ("rust-timebomb" ,rust-timebomb-0.1))))))
 
 (define-public rust-ntest-test-cases-0.3
   (package



reply via email to

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