summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2021-08-31 20:54:12 -0700
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-07 22:01:13 +0200
commitb5f0bacafc4d929ea71f30201962d02761385a51 (patch)
treeca756ac1f60be1eed8b11b89d614525ccccdc98c /gnu
parentd1c54375bd923b400df376487172926c4aa4919f (diff)
downloadguix-b5f0bacafc4d929ea71f30201962d02761385a51.tar.gz
gnu: Add rust-strum-macros-0.19.
* gnu/packages/crates-io.scm (rust-strum-macros-0.19): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0f2ca3590..971f7f9748 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46234,6 +46234,28 @@ easier in Rust.")
      "This crate provides helpful macros for working with enums and strings.")
     (license license:expat)))
 
+(define-public rust-strum-macros-0.19
+  (package
+    (inherit rust-strum-macros-0.20)
+    (name "rust-strum-macros")
+    (version "0.19.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum_macros" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mgqs5x3g0d3bmr8dhalgqrzh29dwc90a06fpy0cnich52zb06z6"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-heck" ,rust-heck-0.3)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-strum" ,rust-strum-0.19))))))
+
 (define-public rust-strum-macros-0.18
   (package
     (inherit rust-strum-macros-0.20)