summary refs log tree commit diff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-02-05 15:05:38 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-19 11:39:43 +0100
commitd6e007586715850fd60de25e7e6681516c18555e (patch)
tree7fc32b6f34a1fe73a8c5623e4139a0c287f31a88
parent9523fc798d0e30926fee52952be1583693e00275 (diff)
downloadguix-d6e007586715850fd60de25e7e6681516c18555e.tar.gz
gnu: Add rust-gumdrop-derive-0.7.
* gnu/packages/crates-io.scm (rust-gumdrop-derive-0.7): New variable. Inherit
  from rust-gumdrop-derive-0.8.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e5b9959ff..0464105303 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25640,6 +25640,25 @@ support.")
     (description "This package provides custom derive support for gumdrop.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gumdrop-derive-0.7
+  (package
+    (inherit rust-gumdrop-derive-0.8)
+    (name "rust-gumdrop-derive")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "gumdrop_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1mrm1h4n13b3n79d1215jq9q9d6sgcvfzdb8i5mcmds0vvj4qich"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-gzip-header-0.3
   (package
     (name "rust-gzip-header")