summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-05-14 19:18:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-07-11 11:08:16 +0300
commitb1f8d3a943a78fb2c0a2c89bc0e026cfe35d9b3c (patch)
treea026d290726775a74aeedcc8d08a6c34677f05d9 /gnu
parent46246ea24f591bf6acd7baefd797623a5c0d16ae (diff)
downloadguix-b1f8d3a943a78fb2c0a2c89bc0e026cfe35d9b3c.tar.gz
gnu: Add rust-darling-core-0.9.
* gnu/packages/crates-io.scm (rust-darling-core-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 923fd81042..f6f401a65f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11982,6 +11982,30 @@ reading attributes into structs when implementing custom derives.")
         ("rust-strsim" ,rust-strsim-0.9)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-darling-core-0.9
+  (package
+    (inherit rust-darling-core-0.10)
+    (name "rust-darling-core")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "darling_core" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0b201dx4m58l5ac7gmbjvbf4z2xipnk5d4pqa7mz7gy3f21h3z3a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-fnv" ,rust-fnv-1)
+        ("rust-ident-case" ,rust-ident-case-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-strsim" ,rust-strsim-0.7)
+        ("rust-syn" ,rust-syn-0.15))))))
+
 (define-public rust-darling-macro-0.12
   (package
     (name "rust-darling-macro")