gnu: Add rust-picky-asn1-der-0.4.

* gnu/packages/crates-tls.scm (rust-picky-asn1-der-0.4): New variable.

Change-Id: Iab80b9223a09f0a7e9a148037fcdd0868624ac02
This commit is contained in:
Efraim Flashner 2024-09-22 21:24:45 +03:00
parent ee1c6ea68f
commit 6d4c075c24
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -870,6 +870,34 @@ (define-public rust-picky-asn1-0.8
(description "This package provides ASN.1 simple types.")
(license (list license:expat license:asl2.0))))
(define-public rust-picky-asn1-der-0.4
(package
(name "rust-picky-asn1-der")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "picky-asn1-der" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gvrhb2nx17cnigsvbvjq69xg0zy27iabglknfnjvm1nkqx8gxsx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
("rust-picky-asn1" ,rust-picky-asn1-0.8)
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11))
#:cargo-development-inputs
(("rust-base64" ,rust-base64-0.21)
("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
("rust-oid" ,rust-oid-0.2)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11))))
(home-page "https://github.com/Devolutions/picky-rs")
(synopsis "ASN.1-DER subset for serde")
(description "This package provides an ASN.1-DER subset for serde.")
(license (list license:expat license:asl2.0))))
(define-public rust-rcgen-0.12
(package
(name "rust-rcgen")