diff options
author | Aleksandr Vityazev <avityazev@posteo.org> | 2022-01-21 23:33:07 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-22 13:09:57 +0100 |
commit | 0830004d493293dcd6d013a3c9ea33149d6a8122 (patch) | |
tree | 8d855fadbeedcfd391f43e7bb23e0175a181377c /gnu/packages/crates-io.scm | |
parent | 796994a5865fa7976de9ca1aa9cbb2f54c2200c8 (diff) | |
download | guix-patches-0830004d493293dcd6d013a3c9ea33149d6a8122.tar guix-patches-0830004d493293dcd6d013a3c9ea33149d6a8122.tar.gz |
gnu: Add rust-x509-parser-0.12.
* gnu/packages/crates-io.scm (rust-x509-parser-0.12): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 55761b0e32..a16c205d8c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67184,6 +67184,39 @@ Diffie-Hellman key exchange, with curve operations provided by @code{curve25519-dalek}.") (license license:bsd-3))) +(define-public rust-x509-parser-0.12 + (package + (name "rust-x509-parser") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vanwazknxwd1kmlp443bpph9qyas021ayqk6iljxdscm0v0ijgz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-der-parser" ,rust-der-parser-6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-oid-registry" ,rust-oid-registry-0.2) + ("rust-ring" ,rust-ring-0.16) + ("rust-rusticata-macros" ,rust-rusticata-macros-4) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/rusticata/x509-parser") + (synopsis "X.509 parser written in pure Rust") + (description "This crate provides a parser for the X.509 v3 format (RFC +5280 certificates).") + (license (list license:expat license:asl2.0)))) + (define-public rust-x86-0.33 (package (name "rust-x86") |