gnu: Add rust-der-parser-6.

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

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Aleksandr Vityazev 2022-01-21 23:31:17 +01:00 committed by Nicolas Goaziou
parent 75c54838d8
commit 3e833c816c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -15692,6 +15692,39 @@ (define-public rust-der-oid-macro-0.5
"This crate provides a macro to encode DER oids at compile time.")
(license (list license:expat license:asl2.0))))
(define-public rust-der-parser-6
(package
(name "rust-der-parser")
(version "6.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "der-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gn465dncghmj52k8dlkl71wkmlz5zc6jfjgj9ra2knf22ryy1wq"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitvec" ,rust-bitvec-0.22)
("rust-cookie-factory" ,rust-cookie-factory-0.3)
("rust-der-oid-macro" ,rust-der-oid-macro-0.5)
("rust-nom" ,rust-nom-7)
("rust-num-bigint" ,rust-num-bigint-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rusticata-macros" ,rust-rusticata-macros-4))
#:cargo-development-inputs
(("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
("rust-test-case" ,rust-test-case-1))))
(home-page "https://github.com/rusticata/der-parser")
(synopsis "BER/DER parser written in pure Rust")
(description "This crate provides a parser for Basic Encoding Rules (BER
[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the
@code{nom} parser combinator framework.")
(license (list license:expat license:asl2.0))))
(define-public rust-derivative-2
(package
(name "rust-derivative")