aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-tls.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-09-22 21:25:05 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:04:44 +0200
commit834e4a64566e014b0ac5bf18a11746e6f033d6a4 (patch)
tree6390e860fbb9f7370e6e8a03b211d5bd4535eb94 /gnu/packages/crates-tls.scm
parent6d4c075c24a7505c147185b32381b0e7c5eac91b (diff)
downloadguix-834e4a64566e014b0ac5bf18a11746e6f033d6a4.tar.gz
guix-834e4a64566e014b0ac5bf18a11746e6f033d6a4.zip
gnu: Add rust-picky-asn1-x509-0.12.
* gnu/packages/crates-tls.scm (rust-picky-asn1-x509-0.12): New variable. Change-Id: Ib01d5b5285585fe40bfec30f1c17530c63beaaca
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r--gnu/packages/crates-tls.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 5466390b9a..932b805ceb 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -898,6 +898,39 @@ grammars and BER/DER encodings, for example.")
(description "This package provides an ASN.1-DER subset for serde.")
(license (list license:expat license:asl2.0))))
+(define-public rust-picky-asn1-x509-0.12
+ (package
+ (name "rust-picky-asn1-x509")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "picky-asn1-x509" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0232vn4i6x2w1hzysn983an6x0fqzak1ix0h4grryjb83bvj0prc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs (("rust-base64" ,rust-base64-0.21)
+ ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
+ ("rust-oid" ,rust-oid-0.2)
+ ("rust-picky-asn1" ,rust-picky-asn1-0.8)
+ ("rust-picky-asn1-der" ,rust-picky-asn1-der-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-widestring" ,rust-widestring-1)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-expect-test" ,rust-expect-test-1)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+ (home-page "https://github.com/Devolutions/picky-rs")
+ (synopsis "Provides ASN1 types defined by X.509 related RFCs")
+ (description
+ "This package provides ASN1 types defined by X.509 related RFCs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rcgen-0.12
(package
(name "rust-rcgen")