mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
gnu: Add rust-asn1-0.13.
* gnu/packages/crates-io.scm (rust-asn1-0.13): New variable.
This commit is contained in:
parent
b08e220dce
commit
513f64a162
1 changed files with 32 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue