Subject: [bug#48420] [PATCH 6/9] gnu: Add rust-darling-0.9.

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8a7a840d29..5b550f8847 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10570,6 +10570,28 @@ crate (implementation detail).")
 into structs when implementing custom derives.")
     (license license:expat)))
 
+(define-public rust-darling-0.9
+  (package
+    (inherit rust-darling-0.10)
+    (name "rust-darling")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "darling" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1mnksf0i47pb7sxvi1iqfwmqy9iny0x8w56ilybpb431b46cpyzw"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-darling-core" ,rust-darling-core-0.9)
+         ("rust-darling-macro" ,rust-darling-macro-0.9))))))
+
 (define-public rust-darling-core-0.10
   (package
     (name "rust-darling-core")
-- 
2.31.1