guix-commits
[Top][All Lists]
Advanced

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

57/276: gnu: Add rust-serial-test-derive-1.


From: guix-commits
Subject: 57/276: gnu: Add rust-serial-test-derive-1.
Date: Wed, 18 Oct 2023 04:49:15 -0400 (EDT)

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

commit 32ad241955f53598925cf33edf9185cdea8e71f2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:40:59 2023 +0300

    gnu: Add rust-serial-test-derive-1.
    
    * gnu/packages/crates-io.scm (rust-serial-test-derive-1): New variable.
    (rust-serial-test-derive-0.6): Inherit from rust-serial-test-derive-1.
---
 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 26ed30cb8c..a9e458f621 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61498,8 +61498,34 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
      `(#:cargo-inputs
        (("rust-lazy-static" ,rust-lazy-static-1))))))
 
+(define-public rust-serial-test-derive-1
+  (package
+    (name "rust-serial-test-derive")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serial-test-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0scscldvlz3an9v0spcizaqp5wa2y4w15bk4ink8jpgq2pgq76h7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.9))))
+    (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-0.6
   (package
+    (inherit rust-serial-test-derive-1)
     (name "rust-serial-test-derive")
     (version "0.6.0")
     (source
@@ -61509,7 +61535,6 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1s6aj2bs0rr8hnralx16bvbqlbrihmii7cyplggk5yv0gp6vr098"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-proc-macro-error" ,rust-proc-macro-error-1)
@@ -61519,12 +61544,7 @@ for data that potentially contains secrets (e.g. 
cryptographic keys).")
         ("rust-syn" ,rust-syn-1))
        #:cargo-development-inputs
        (("rust-env-logger" ,rust-env-logger-0.7)
-        ("rust-trybuild" ,rust-trybuild-1))))
-    (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-trybuild" ,rust-trybuild-1))))))
 
 (define-public rust-serial-test-derive-0.5
   (package



reply via email to

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