aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-05-14 19:18:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-07-11 11:08:16 +0300
commit180116a8cd54c1f2d26950614c7f72495928e87d (patch)
treee298e9d70bc07e8d2ba2b080e6970b5b7d3e83f1
parent83274b89b0e9e1d4a83c17ae6365860fe0a4dc0b (diff)
downloadguix-180116a8cd54c1f2d26950614c7f72495928e87d.tar.gz
guix-180116a8cd54c1f2d26950614c7f72495928e87d.zip
gnu: Add rust-darling-0.9.
* gnu/packages/crates-io.scm (rust-darling-0.9): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-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 38d83e853c..6c59062e3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11931,6 +11931,30 @@ into structs when implementing custom derives.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(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
+ `(#:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.9)
+ ("rust-darling-macro" ,rust-darling-macro-0.9))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-syn" ,rust-syn-0.15))))))
+
(define-public rust-darling-core-0.12
(package
(name "rust-darling-core")