guix-commits
[Top][All Lists]
Advanced

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

69/330: gnu: Add rust-serial-test-3.


From: guix-commits
Subject: 69/330: gnu: Add rust-serial-test-3.
Date: Mon, 18 Mar 2024 07:15:16 -0400 (EDT)

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

commit c2cc44d058778d31fa240b32ebb4e1e9ac2ebc6d
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Thu Mar 14 12:47:20 2024 +0200

    gnu: Add rust-serial-test-3.
    
    * gnu/packages/crates-io.scm (rust-serial-test-3): New variable.
    (rust-serial-test-2): Inherit from rust-serial-test-3.
    
    Change-Id: I0fde60ed6097c8f3bb11b89a16138a10af20ea2d
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3020d9706..fee6674544 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62044,8 +62044,38 @@ Rust's serde.")
     (description "Native Serde adapter for wasm-bindgen.")
     (license license:expat)))
 
+(define-public rust-serial-test-3
+  (package
+    (name "rust-serial-test")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serial_test" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1381b9z83a0a39sx0jrrf1q91m08s1yhjp648g5sgb1s5csdjflm"))))
+    (build-system cargo-build-system)
+    (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-3))
+       #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10)
+                                   ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/palfrey/serial_test";)
+    (synopsis "Allows for the creation of serialised Rust tests")
+    (description
+     "This package allows for the creation of serialised Rust tests.")
+    (license license:expat)))
+
 (define-public rust-serial-test-2
   (package
+    (inherit rust-serial-test-3)
     (name "rust-serial-test")
     (version "2.0.0")
     (source
@@ -62055,7 +62085,6 @@ Rust's serde.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0b9v0csv9wxl1gcjq99plwimxbmhgr6kzbwqyb457qh3d22xsmhf"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-dashmap" ,rust-dashmap-5)
@@ -62068,12 +62097,7 @@ Rust's serde.")
         ("rust-serial-test-derive" ,rust-serial-test-derive-2))
        #:cargo-development-inputs
        (("rust-itertools" ,rust-itertools-0.10)
-        ("rust-tokio" ,rust-tokio-1))))
-    (home-page "https://github.com/palfrey/serial_test";)
-    (synopsis "Allows for the creation of serialised Rust tests")
-    (description
-     "This package allows for the creation of serialised Rust tests.")
-    (license license:expat)))
+        ("rust-tokio" ,rust-tokio-1))))))
 
 (define-public rust-serial-test-1
   (package



reply via email to

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