gnu: Add rust-der-0.7.
* gnu/packages/crates-io.scm (rust-der-0.7): New variable. (rust-der-0.4): Inherit from rust-der-0.7.
This commit is contained in:
parent
4ee8822290
commit
b26ff59bca
1 changed files with 40 additions and 15 deletions
|
@ -17765,25 +17765,30 @@ strings.")
|
||||||
(description "Demo of proc-macro-hack.")
|
(description "Demo of proc-macro-hack.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-der-0.4
|
(define-public rust-der-0.7
|
||||||
(package
|
(package
|
||||||
(name "rust-der")
|
(name "rust-der")
|
||||||
(version "0.4.5")
|
(version "0.7.5")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "der" version))
|
(uri (crate-uri "der" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1x4k0jln8va1657cghl40l6p7hyvr1ixz71v9cd6imwmgp51rdvr"))))
|
(base32
|
||||||
|
"06f2clallhpjc51s3dc7mpcw5ms3jak727qc5yrfg3ncrpzqvr85"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build?
|
`(#:cargo-inputs
|
||||||
#t ; FIXME
|
(("rust-arbitrary" ,rust-arbitrary-1)
|
||||||
#:cargo-inputs
|
("rust-const-oid" ,rust-const-oid-0.9)
|
||||||
(("rust-const-oid" ,rust-const-oid-0.6)
|
("rust-der-derive" ,rust-der-derive-0.7)
|
||||||
("rust-crypto-bigint" ,rust-crypto-bigint-0.2)
|
("rust-flagset" ,rust-flagset-0.4)
|
||||||
("rust-der-derive" ,rust-der-derive-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")
|
(home-page "https://github.com/RustCrypto/formats/tree/master/der")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Implementation of the Distinguished Encoding Rules (DER)")
|
"Implementation of the Distinguished Encoding Rules (DER)")
|
||||||
|
@ -17794,6 +17799,26 @@ the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One
|
||||||
targets")
|
targets")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(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
|
(define-public rust-der-derive-0.7
|
||||||
(package
|
(package
|
||||||
(name "rust-der-derive")
|
(name "rust-der-derive")
|
||||||
|
|
Reference in a new issue