me
/
guix
Archived
1
0
Fork 0

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>
master
aecepoglu 2021-05-14 19:18:15 +03:00 committed by Efraim Flashner
parent 83274b89b0
commit 180116a8cd
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 24 additions and 0 deletions

View File

@ -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")