aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-09-22 21:24:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:04:44 +0200
commit6d4c075c24a7505c147185b32381b0e7c5eac91b (patch)
tree6d1764849fddb79f966f7d22c6352e1017d7839f /gnu/packages
parentee1c6ea68f2461fd5c063e72fd86fcae85556fc0 (diff)
downloadguix-6d4c075c24a7505c147185b32381b0e7c5eac91b.tar.gz
guix-6d4c075c24a7505c147185b32381b0e7c5eac91b.zip
gnu: Add rust-picky-asn1-der-0.4.
* gnu/packages/crates-tls.scm (rust-picky-asn1-der-0.4): New variable. Change-Id: Iab80b9223a09f0a7e9a148037fcdd0868624ac02
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-tls.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 2e189dc762..5466390b9a 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -870,6 +870,34 @@ grammars and BER/DER encodings, for example.")
(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")