From f043dad8526ad5c374785eb865753842a87d6af9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 Jan 2024 08:28:32 +0200 Subject: [PATCH] gnu: rust-der: Move to (gnu packages crates-tls). * gnu/packages/crates-io.scm (rust-der-0.7, rust-der-0.6, rust-der-0.5, rust-der-0.4, rust-der-derive-0.7, rust-der-derive-0.6, rust-der-derive-0.5, rust-der-derive-0.4, rust-der-oid-macro-0.5, rust-der-parser-8, rust-der-parser-7, rust-der-parser-6): Move from here ... * gnu/packages/crates-tls.scm: ... to here. Change-Id: If4f61227b24a94a85c729c4c665c575c36ba710e --- gnu/packages/crates-crypto.scm | 1 + gnu/packages/crates-io.scm | 293 --------------------------------- gnu/packages/crates-tls.scm | 293 +++++++++++++++++++++++++++++++++ 3 files changed, 294 insertions(+), 293 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 4bff4f9dfe..b750a97817 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -46,6 +46,7 @@ (define-module (gnu packages crates-crypto) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages golang) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 370b87ea9e..9cc04ab8f8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18125,299 +18125,6 @@ (define-public rust-demo-hack-impl-0.0 (description "Demo of proc-macro-hack.") (license (list license:expat license:asl2.0)))) -(define-public rust-der-0.7 - (package - (name "rust-der") - (version "0.7.5") - (source (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06f2clallhpjc51s3dc7mpcw5ms3jak727qc5yrfg3ncrpzqvr85")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-const-oid" ,rust-const-oid-0.9) - ("rust-der-derive" ,rust-der-derive-0.7) - ("rust-flagset" ,rust-flagset-0.4) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) - ("rust-time" ,rust-time-0.3) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/der") - (synopsis - "Implementation of the Distinguished Encoding Rules (DER)") - (description - "This package provides a pure Rust embedded-friendly implementation of -the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One -(ASN.1) as described in ITU X.690 with full support for heapless no_std -targets") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-der-0.6 - (package - (inherit rust-der-0.7) - (name "rust-der") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pnl3y52m1s6srxpfrfbazf6qilzq8fgksk5dv79nxaybjk6g97i")))) - (arguments - `(#:cargo-inputs - (("rust-const-oid" ,rust-const-oid-0.9) - ("rust-der-derive" ,rust-der-derive-0.6) - ("rust-flagset" ,rust-flagset-0.4) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) - ("rust-time" ,rust-time-0.3) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-proptest" ,rust-proptest-1)))))) - -(define-public rust-der-0.5 - (package - (inherit rust-der-0.7) - (name "rust-der") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0p3h7nszn7jhjacpmkjrcyx5g8p3ma1qhxfy3397m7l3fdfq26b9")))) - (arguments - `(#:cargo-inputs (("rust-const-oid" ,rust-const-oid-0.7) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.3) - ("rust-der-derive" ,rust-der-derive-0.5) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.3) - ("rust-time" ,rust-time-0.3)) - #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-proptest" ,rust-proptest-1)))))) - -(define-public rust-der-0.4 - (package - (inherit rust-der-0.7) - (name "rust-der") - (version "0.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x4k0jln8va1657cghl40l6p7hyvr1ixz71v9cd6imwmgp51rdvr")))) - (arguments - `(#:skip-build? - #t ; FIXME - #:cargo-inputs - (("rust-const-oid" ,rust-const-oid-0.6) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.2) - ("rust-der-derive" ,rust-der-derive-0.4)))))) - -(define-public rust-der-derive-0.7 - (package - (name "rust-der-derive") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive") - (synopsis - "Custom derive support for the `der` crate's `Choice` and `Sequence` traits") - (description - "This package provides a custom derive support for the `der` crate's -`Choice` and `Sequence` traits.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-der-derive-0.6 - (package - (inherit rust-der-derive-0.7) - (name "rust-der-derive") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fg3dv4cjjwd4a6dh62ch2gb477s1pvwh5s8wbg567rsbgdivxwf")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-der-derive-0.5 - (package - (inherit rust-der-derive-0.7) - (name "rust-der-derive") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zw4p6yqklv4i76ms2a0gcmna648337r379d5ljgpbir5cyqylrs")))) - (arguments - `(#:cargo-inputs (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-der-derive-0.4 - (package - (inherit rust-der-derive-0.7) - (name "rust-der-derive") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca")))) - (arguments - `(#:skip-build? - #t ; FIXME - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))))) - -(define-public rust-der-oid-macro-0.5 - (package - (name "rust-der-oid-macro") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "der-oid-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dply8g2p72hfhyymkrkr7fjqy844drj19xbrfkqrp55nq4z4fn7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/rusticata/der-parser") - (synopsis "Macro to encode DER oids at compile time") - (description - "This crate provides a macro to encode DER oids at compile time.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-der-parser-8 - (package - (name "rust-der-parser") - (version "8.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "der-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07mnz9y395zyxwj7nam2dbzkqdngfraxp2i7y2714dxmpbxpdmnv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-asn1-rs" ,rust-asn1-rs-0.5) - ("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)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-test-case" ,rust-test-case-3)))) - (home-page "https://github.com/rusticata/der-parser") - (synopsis "BER/DER parser written in pure Rust") - (description "This crate provides a parser for Basic Encoding Rules (BER -[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the -@code{nom} parser combinator framework.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-der-parser-7 - (package - (inherit rust-der-parser-8) - (name "rust-der-parser") - (version "7.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "der-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10kfa2gzl3x20mwgrd43cyi79xgkqxyzcyrh0xylv4apa33qlfgy")))) - (arguments - `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3) - ("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)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-test-case" ,rust-test-case-1)))))) - -(define-public rust-der-parser-6 - (package - (inherit rust-der-parser-8) - (name "rust-der-parser") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "der-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gn465dncghmj52k8dlkl71wkmlz5zc6jfjgj9ra2knf22ryy1wq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitvec" ,rust-bitvec-0.22) - ("rust-cookie-factory" ,rust-cookie-factory-0.3) - ("rust-der-oid-macro" ,rust-der-oid-macro-0.5) - ("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)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) - ("rust-test-case" ,rust-test-case-1)))))) - (define-public rust-deranged-0.3 (package (name "rust-deranged") diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index 509c407dd8..626b12975b 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -94,6 +94,299 @@ (define-public rust-async-tls-0.10 "This package provides asynchronous TLS/SSL streams using Rustls.") (license (list license:expat license:asl2.0)))) +(define-public rust-der-0.7 + (package + (name "rust-der") + (version "0.7.5") + (source (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06f2clallhpjc51s3dc7mpcw5ms3jak727qc5yrfg3ncrpzqvr85")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-const-oid" ,rust-const-oid-0.9) + ("rust-der-derive" ,rust-der-derive-0.7) + ("rust-flagset" ,rust-flagset-0.4) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/der") + (synopsis + "Implementation of the Distinguished Encoding Rules (DER)") + (description + "This package provides a pure Rust embedded-friendly implementation of +the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One +(ASN.1) as described in ITU X.690 with full support for heapless no_std +targets") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-der-0.6 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pnl3y52m1s6srxpfrfbazf6qilzq8fgksk5dv79nxaybjk6g97i")))) + (arguments + `(#:cargo-inputs + (("rust-const-oid" ,rust-const-oid-0.9) + ("rust-der-derive" ,rust-der-derive-0.6) + ("rust-flagset" ,rust-flagset-0.4) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1)))))) + +(define-public rust-der-0.5 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p3h7nszn7jhjacpmkjrcyx5g8p3ma1qhxfy3397m7l3fdfq26b9")))) + (arguments + `(#:cargo-inputs (("rust-const-oid" ,rust-const-oid-0.7) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.3) + ("rust-der-derive" ,rust-der-derive-0.5) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.3) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1)))))) + +(define-public rust-der-0.4 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x4k0jln8va1657cghl40l6p7hyvr1ixz71v9cd6imwmgp51rdvr")))) + (arguments + `(#:skip-build? + #t ; FIXME + #:cargo-inputs + (("rust-const-oid" ,rust-const-oid-0.6) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.2) + ("rust-der-derive" ,rust-der-derive-0.4)))))) + +(define-public rust-der-derive-0.7 + (package + (name "rust-der-derive") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive") + (synopsis + "Custom derive support for the `der` crate's `Choice` and `Sequence` traits") + (description + "This package provides a custom derive support for the `der` crate's +`Choice` and `Sequence` traits.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-der-derive-0.6 + (package + (inherit rust-der-derive-0.7) + (name "rust-der-derive") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fg3dv4cjjwd4a6dh62ch2gb477s1pvwh5s8wbg567rsbgdivxwf")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-der-derive-0.5 + (package + (inherit rust-der-derive-0.7) + (name "rust-der-derive") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zw4p6yqklv4i76ms2a0gcmna648337r379d5ljgpbir5cyqylrs")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-der-derive-0.4 + (package + (inherit rust-der-derive-0.7) + (name "rust-der-derive") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca")))) + (arguments + `(#:skip-build? + #t ; FIXME + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-synstructure" ,rust-synstructure-0.12)))))) + +(define-public rust-der-oid-macro-0.5 + (package + (name "rust-der-oid-macro") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-oid-macro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dply8g2p72hfhyymkrkr7fjqy844drj19xbrfkqrp55nq4z4fn7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/rusticata/der-parser") + (synopsis "Macro to encode DER oids at compile time") + (description + "This crate provides a macro to encode DER oids at compile time.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-der-parser-8 + (package + (name "rust-der-parser") + (version "8.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07mnz9y395zyxwj7nam2dbzkqdngfraxp2i7y2714dxmpbxpdmnv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-asn1-rs" ,rust-asn1-rs-0.5) + ("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)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-test-case" ,rust-test-case-3)))) + (home-page "https://github.com/rusticata/der-parser") + (synopsis "BER/DER parser written in pure Rust") + (description "This crate provides a parser for Basic Encoding Rules (BER +[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the +@code{nom} parser combinator framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-der-parser-7 + (package + (inherit rust-der-parser-8) + (name "rust-der-parser") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10kfa2gzl3x20mwgrd43cyi79xgkqxyzcyrh0xylv4apa33qlfgy")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3) + ("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)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-test-case" ,rust-test-case-1)))))) + +(define-public rust-der-parser-6 + (package + (inherit rust-der-parser-8) + (name "rust-der-parser") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gn465dncghmj52k8dlkl71wkmlz5zc6jfjgj9ra2knf22ryy1wq")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitvec" ,rust-bitvec-0.22) + ("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-der-oid-macro" ,rust-der-oid-macro-0.5) + ("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)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) + ("rust-test-case" ,rust-test-case-1)))))) + (define-public rust-native-tls-0.2 (package (name "rust-native-tls")