Subject: [PATCH 21/24]: gnu: just: New package.

From: Jean Pierre De Jesus DIAZ <[email-masked]>
Date: Wed, 20 Jul 2022 12:21:37 +0000

Empty Message

From 0338300384f9b3b3df4e630ce1f5ba641cc2afe6 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Sun, 17 Jul 2022 22:56:20 +0200
Subject: [PATCH 21/24] gnu: rust-snafu-derive-0.7: New package.

* gnu/packages/crates-io.scm (rust-snafu-derive-0.7): New variable.
* gnu/packages/crates-io.scm (rust-snafu-derive-0.6)[inherit]: Inherit
  `rust-snafu-derive-0.7'.
---
 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 c84f502827..d8d5277596 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57666,8 +57666,33 @@ (define-public rust-smol-str-0.1
 clone.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-snafu-derive-0.7
+  (package
+    (name "rust-snafu-derive")
+    (version "0.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "snafu-derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r95zrm2i6wh2zsddmzmchh6xa2nin38qj72sg7903a4jznjc2s1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-heck" ,rust-heck-0.4)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/shepmaster/snafu")
+    (synopsis "Ergonomic error handling library")
+    (description "Snafu aims to be an ergonomic error handling library.  This
+package provides derive macros.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-snafu-derive-0.6
   (package
+    (inherit rust-snafu-derive-0.7)
     (name "rust-snafu-derive")
     (version "0.6.10")
     (source
@@ -57677,17 +57702,11 @@ (define-public rust-snafu-derive-0.6
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m"))))
-    (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))))
-    (home-page "https://github.com/shepmaster/snafu")
-    (synopsis "Ergonomic error handling library")
-    (description "Snafu aims to be an ergonomic error handling library.  This
-package provides derive macros.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-snafu-0.6
   (package
-- 
2.36.1