guix-commits
[Top][All Lists]
Advanced

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

68/330: gnu: Add rust-serial-test-derive-3.


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

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

commit 65508c35d0273f17292148eff49f440c48bab101
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Thu Mar 14 12:46:55 2024 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 355e4a1ad9..a3020d9706 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62180,8 +62180,33 @@ Rust's serde.")
      `(#:cargo-inputs
        (("rust-lazy-static" ,rust-lazy-static-1))))))
 
+(define-public rust-serial-test-derive-3
+  (package
+    (name "rust-serial-test-derive")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serial_test_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04i240k9ml91nz2knj2qxaksm6qnqj65xm7p8wdsq880qynv8gxr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)
+                                   ("rust-prettyplease" 
,rust-prettyplease-0.2))))
+    (home-page "https://github.com/palfrey/serial_test";)
+    (synopsis "Helper crate for serial_test")
+    (description
+     "This package is an helper crate for @code{rust-serial-test}.")
+    (license license:expat)))
+
 (define-public rust-serial-test-derive-2
   (package
+    (inherit rust-serial-test-derive-3)
     (name "rust-serial-test-derive")
     (version "2.0.0")
     (source
@@ -62191,19 +62216,13 @@ Rust's serde.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "13zvd5ds76hhjn3z0axc05n15lzpxpz77jcykic8q5knhlbjklci"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-2))
        #:cargo-development-inputs
-       (("rust-env-logger" ,rust-env-logger-0.10))))
-    (home-page "https://github.com/palfrey/serial_test";)
-    (synopsis "Helper crate for serial_test")
-    (description
-     "This package is an helper crate for @code{rust-serial-test}.")
-    (license license:expat)))
+       (("rust-env-logger" ,rust-env-logger-0.10))))))
 
 (define-public rust-serial-test-derive-1
   (package



reply via email to

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