gnu: Add rust-asn1-0.13.

* gnu/packages/crates-io.scm (rust-asn1-0.13): New variable.
This commit is contained in:
Maxim Cournoyer 2023-04-02 22:11:19 -04:00
parent f44a2925ea
commit 1f9f86d9a9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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")