gnu: Add rust-digest-0.10.
* gnu/packages/crates-io.scm (rust-digest-0.10): New variable. (rust-digest-0.9): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
parent
30b787f707
commit
9463e571b3
|
@ -15908,8 +15908,37 @@ where applicable. Also supports derive via `diffus-derive`.")
|
|||
any data structure. Supports derive on structs and enums.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-digest-0.10
|
||||
(package
|
||||
(name "rust-digest")
|
||||
(version "0.10.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "digest" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-blobby" ,rust-blobby-0.3)
|
||||
("rust-block-buffer" ,rust-block-buffer-0.10)
|
||||
("rust-crypto-common" ,rust-crypto-common-0.1)
|
||||
("rust-generic-array" ,rust-generic-array-0.14)
|
||||
("rust-subtle" ,rust-subtle-2))))
|
||||
(home-page "https://github.com/RustCrypto/traits")
|
||||
(synopsis "Traits for cryptographic hash functions")
|
||||
(description
|
||||
"Traits for cryptographic hash functions.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-digest-0.9
|
||||
(package
|
||||
(inherit rust-digest-0.10)
|
||||
(name "rust-digest")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
|
@ -15921,16 +15950,10 @@ any data structure. Supports derive on structs and enums.")
|
|||
(sha256
|
||||
(base32
|
||||
"0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-blobby" ,rust-blobby-0.1)
|
||||
("rust-generic-array" ,rust-generic-array-0.14))))
|
||||
(home-page "https://github.com/RustCrypto/traits")
|
||||
(synopsis "Traits for cryptographic hash functions")
|
||||
(description
|
||||
"Traits for cryptographic hash functions.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-generic-array" ,rust-generic-array-0.14))))))
|
||||
|
||||
(define-public rust-digest-0.8
|
||||
(package
|
||||
|
|
Reference in New Issue