guix-commits
[Top][All Lists]
Advanced

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

108/276: gnu: Add rust-serial-test-derive-2.


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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 496f0fc93d..69c0bd0588 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61696,31 +61696,51 @@ 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
+(define-public rust-serial-test-derive-2
   (package
     (name "rust-serial-test-derive")
-    (version "1.0.0")
+    (version "2.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"))))
+        (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-1))
+        ("rust-syn" ,rust-syn-2))
        #:cargo-development-inputs
-       (("rust-env-logger" ,rust-env-logger-0.9))))
+       (("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)))
 
+(define-public rust-serial-test-derive-1
+  (package
+    (inherit rust-serial-test-derive-2)
+    (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"))))
+    (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))))))
+
 (define-public rust-serial-test-derive-0.6
   (package
     (inherit rust-serial-test-derive-1)



reply via email to

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