gnu: Add rust-der-derive-0.4.

* gnu/packages/crates-io.scm (rust-der-derive-0.4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Nicolas Graves 2022-01-07 14:59:58 +01:00 committed by Nicolas Goaziou
parent af7ef28b92
commit 55bb7682d1
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -14931,6 +14931,34 @@ (define-public rust-demo-hack-impl-0.0
(description "Demo of proc-macro-hack.")
(license (list license:expat license:asl2.0))))
(define-public rust-der-derive-0.4
(package
(name "rust-der-derive")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "der_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build?
#t ; FIXME
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)
("rust-synstructure" ,rust-synstructure-0.12))))
(home-page "https://github.com/RustCrypto/formats/tree/master/der/derive")
(synopsis
"Custom derive support for the `der` crate's `Choice` and `Sequence` traits")
(description
"This package provides a custom derive support for the `der` crate's
`Choice` and `Sequence` traits.")
(license (list license:asl2.0 license:expat))))
(define-public rust-derivative-2
(package
(name "rust-derivative")