Subject: [PATCH 03/20] gnu: Add rust-derive-error

From: southerntofu <[email-masked]>
Date: Sun, 11 Jul 2021 17:28:47 -0400

---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5605fa82c..2ac7bc0c2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12676,6 +12676,35 @@ for arbitrary structs.")
 pattern for arbitrary structs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-derive-error-0.0.4
+  (package
+    (name "rust-derive-error")
+    (version "0.0.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "derive-error" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1j624ma4jw911yg3qqlvfybgk7614k2blhg6wgnb38wyn90882gc"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-case" ,rust-case-0.1)
+         ("rust-quote" ,rust-quote-0.3)
+         ("rust-syn" ,rust-syn-0.11))))
+    (home-page
+      "https://github.com/rushmorem/derive-error")
+    (synopsis
+      "Derive macro for Error using macros 1.1")
+    (description
+      "Derive macro for Error using macros 1.1")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-derive-error-chain-0.10
   (package
     (name "rust-derive-error-chain")
-- 
2.30.2