diff options
author | aecepoglu <aecepoglu@fastmail.fm> | 2021-05-14 19:18:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-07-11 11:08:16 +0300 |
commit | 180116a8cd54c1f2d26950614c7f72495928e87d (patch) | |
tree | e298e9d70bc07e8d2ba2b080e6970b5b7d3e83f1 /gnu | |
parent | 83274b89b0e9e1d4a83c17ae6365860fe0a4dc0b (diff) | |
download | guix-180116a8cd54c1f2d26950614c7f72495928e87d.tar.gz |
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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
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") |