Subject: [bug#66134] [PATCH 02/12] gnu: add rust-snafu-derive-0.7

From: Andrew Jose <[email-masked]>
Date: Thu, 21 Sep 2023 18:14:48 +0530

inherit from rust-snafu-derive-0.6
[cargo-inputs]: add rust-heck-0.4
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaeeb1fa00..8ea1d7be50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62843,6 +62843,23 @@ (define-public rust-snafu-derive-0.6
 package provides derive macros.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-snafu-derive-0.7
+  (package
+    (inherit rust-snafu-derive-0.6)
+    (version "0.7.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "snafu-derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r"))))
+    (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))))))
+
 (define-public rust-snafu-0.6
   (package
     (name "rust-snafu")
-- 
2.34.1