summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-05-14 19:17:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-07-11 11:08:16 +0300
commit83274b89b0e9e1d4a83c17ae6365860fe0a4dc0b (patch)
tree712caaa9df22820a687c447c615100393809f7c8 /gnu/packages
parentb1f8d3a943a78fb2c0a2c89bc0e026cfe35d9b3c (diff)
downloadguix-83274b89b0e9e1d4a83c17ae6365860fe0a4dc0b.tar.gz
gnu: Add rust-darling-macro-0.9.
* gnu/packages/crates-io.scm (rust-darling-macro-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6f401a65f..38d83e853c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12051,6 +12051,27 @@ reading attributes into structs when implementing custom derives.")
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-darling-macro-0.9
+  (package
+    (inherit rust-darling-macro-0.10)
+    (name "rust-darling-macro")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "darling_macro" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1lcq9418w0vmvncg4a3n9k64zjvqz0048aviqi0rmlpiqv0xmn66"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-darling-core" ,rust-darling-core-0.9)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-syn" ,rust-syn-0.15))))))
+
 (define-public rust-dashmap-4
   (package
     (name "rust-dashmap")