diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-20 20:39:50 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:32 +0200 |
commit | e15c3c7e72892d26f0f192ac47cdc9205bbd882b (patch) | |
tree | 4a9c402b44a6907fdb4e28c91bdaa0d1f192d9c9 /gnu/packages/crates-tls.scm | |
parent | 556442adb1958fe8e80215bd8706bce6fefa42e8 (diff) | |
download | guix-e15c3c7e72892d26f0f192ac47cdc9205bbd882b.tar.gz guix-e15c3c7e72892d26f0f192ac47cdc9205bbd882b.zip |
gnu: Add rust-asn1-rs-0.6.
* gnu/packages/crates-tls.scm (rust-asn1-rs-0.6): New variable.
(rust-asn1-rs-0.5): Inherit from rust-asn1-rs-0.6.
Change-Id: I3cdf2647cbfd327d93ba518b8d579dcfd7609683
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r-- | gnu/packages/crates-tls.scm | 43 |
1 files changed, 37 insertions, 6 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index 0e36f1720f..74045a16e6 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -131,8 +131,44 @@ ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-asn1-rs-0.6 + (package + (name "rust-asn1-rs") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j5h437ycgih5hnrma6kmaxi4zb8csynnd66h9rzvxxcvfzc74sl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.5) + ("rust-asn1-rs-impl" ,rust-asn1-rs-impl-0.2) + ("rust-bitvec" ,rust-bitvec-1) + ("rust-colored" ,rust-colored-2) + ("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("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) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-colored" ,rust-colored-2) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-pem" ,rust-pem-3) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/rusticata/asn1-rs") + (synopsis "Parser/encoder for ASN.1 BER/DER data") + (description + "This package provides a parser/encoder for ASN.1 BER/DER data.") + (license (list license:expat license:asl2.0)))) + (define-public rust-asn1-rs-0.5 (package + (inherit rust-asn1-rs-0.6) (name "rust-asn1-rs") (version "0.5.2") (source (origin @@ -142,7 +178,6 @@ (sha256 (base32 "1w7zq0392qs7kkv0nzw50bfqvq7q9zxv48fsp3sxyl83mzfxavvz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.4) @@ -161,11 +196,7 @@ ("rust-hex-literal" ,rust-hex-literal-0.3) ("rust-oid-registry" ,rust-oid-registry-0.6) ("rust-pem" ,rust-pem-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/rusticata/asn1-rs") - (synopsis "Parser/encoder for ASN.1 BER/DER data") - (description "Parser/encoder for ASN.1 BER/DER data") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-asn1-rs-0.3 (package |