diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2396a01693..5dfb6dd8be 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3795,10 +3795,21 @@ (define-public rust-asn1-derive-0.8 (sha256 (base32 "098w0mxz4bx9w7v72gsl5wva6f0qbvzyc52m0s0n8svqbyh4z2dw")))))) +(define-public rust-asn1-0.13 + (package + (name "rust-asn1") + (version "0.13.0") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1idxxw14h3dvrj72k4g0hx1aqigd986a00cg0yxfw2gfc9gbmzra")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-asn1-derive" ,rust-asn1-derive-0.8) + (("rust-asn1-derive" ,rust-asn1-derive-0.13) ("rust-chrono" ,rust-chrono-0.4)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))) @@ -3808,6 +3819,26 @@ (define-public rust-asn1-derive-0.8 "This is a Rust library for parsing and generating ASN.1 data (DER only).") (license license:bsd-3))) +(define-public rust-asn1-0.8 + (package + (inherit rust-asn1-0.13) + (name "rust-asn1") + (version "0.8.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1caacmvgn463n1yc4ac6vl9phrh56ij7l3xgf6qgzbpyjm8v7zyg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-asn1-derive" ,rust-asn1-derive-0.8) + ("rust-chrono" ,rust-chrono-0.4)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-as-slice-0.1 (package (name "rust-as-slice")