gnu: Add rust-asn1-rs-derive-0.4.

* gnu/packages/crates-io.scm (rust-asn1-rs-derive-0.4): New variable.
This commit is contained in:
Efraim Flashner 2023-08-02 19:34:16 +03:00
parent 94db437cd4
commit 6be69bbbe8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4250,6 +4250,30 @@ (define-public rust-asn1-0.13
"This is a Rust library for parsing and generating ASN.1 data (DER only).")
(license license:bsd-3)))
(define-public rust-asn1-rs-derive-0.4
(package
(name "rust-asn1-rs-derive")
(version "0.4.0")
(source (origin
(method url-fetch)
(uri (crate-uri "asn1-rs-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0v7fgmnzk7jjxv51grhwzcx5bf167nlqwk3vcmq7xblf5s4karbj"))))
(build-system cargo-build-system)
(arguments
`(#: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/rusticata/asn1-rs")
(synopsis "Derive macros for the `asn1-rs` crate")
(description
"This package provides derive macros for the @code{asn1-rs} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-asn1-rs-impl-0.1
(package
(name "rust-asn1-rs-impl")