summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-02 08:07:35 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:00 +0300
commitbe5ddded5fa0ec83001fc936a17f6158b841e4b7 (patch)
treec791219e5981ada55985979ecae14534072ef7be
parent9c2e509cac29d9c510a22b0023b939f7edd5e806 (diff)
downloadguix-be5ddded5fa0ec83001fc936a17f6158b841e4b7.tar.gz
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.
-rw-r--r--gnu/packages/crates-io.scm30
1 files 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)