Subject: [PATCH 5/9] gnu: Add rust-darling-core-0.9.

From: aecepoglu <[email-masked]>
Date: Fri, 14 May 2021 19:18:06 +0300

* gnu/packages/crates-io.scm (rust-darling-core-0.9): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a90726ab25..8a7a840d29 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10599,6 +10599,32 @@ into structs when implementing custom derives.")
 reading attributes into structs when implementing custom derives.")
     (license license:expat)))
 
+(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
+      `(#:skip-build?
+        #t
+        #: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.10
   (package
     (name "rust-darling-macro")
-- 
2.31.1