guix-commits
[Top][All Lists]
Advanced

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

107/194: gnu: Add rust-serial-test-2.


From: guix-commits
Subject: 107/194: gnu: Add rust-serial-test-2.
Date: Tue, 3 Oct 2023 14:57:40 -0400 (EDT)

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

commit b857f1ea1448008cb2911b7852da43e6582031a2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 08:07:09 2023 +0300

    gnu: Add rust-serial-test-2.
    
    * gnu/packages/crates-io.scm (rust-serial-test-2): New variable.
    (rust-serial-test-1): Inherit from rust-serial-test-2.
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++----
 1 file changed, 30 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6477d8149..2ab1aac88a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61519,17 +61519,17 @@ for later processing.")
 for data that potentially contains secrets (e.g. cryptographic keys).")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-serial-test-1
+(define-public rust-serial-test-2
   (package
     (name "rust-serial-test")
-    (version "1.0.0")
+    (version "2.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "serial-test" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "04864v5ain4nan2k5l32sr3bxpg0sfxxs2iki3xxcq78g9s3132k"))))
+        (base32 "0b9v0csv9wxl1gcjq99plwimxbmhgr6kzbwqyb457qh3d22xsmhf"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -61540,7 +61540,7 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-log" ,rust-log-0.4)
         ("rust-parking-lot" ,rust-parking-lot-0.12)
-        ("rust-serial-test-derive" ,rust-serial-test-derive-1))
+        ("rust-serial-test-derive" ,rust-serial-test-derive-2))
        #:cargo-development-inputs
        (("rust-itertools" ,rust-itertools-0.10)
         ("rust-tokio" ,rust-tokio-1))))
@@ -61550,6 +61550,32 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
      "This package allows for the creation of serialised Rust tests.")
     (license license:expat)))
 
+(define-public rust-serial-test-1
+  (package
+    (inherit rust-serial-test-2)
+    (name "rust-serial-test")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serial-test" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04864v5ain4nan2k5l32sr3bxpg0sfxxs2iki3xxcq78g9s3132k"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-dashmap" ,rust-dashmap-5)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-fslock" ,rust-fslock-0.2)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-parking-lot" ,rust-parking-lot-0.12)
+        ("rust-serial-test-derive" ,rust-serial-test-derive-1))
+       #:cargo-development-inputs
+       (("rust-itertools" ,rust-itertools-0.10)
+        ("rust-tokio" ,rust-tokio-1))))))
+
 (define-public rust-serial-test-0.6
   (package
     (inherit rust-serial-test-1)



reply via email to

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