me
/
guix
Archived
1
0
Fork 0

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>
Nicolas Graves 2022-01-07 15:08:21 +01:00 committed by Nicolas Goaziou
parent 30b787f707
commit 9463e571b3
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 36 additions and 13 deletions

View File

@ -15908,30 +15908,53 @@ where applicable. Also supports derive via `diffus-derive`.")
any data structure. Supports derive on structs and enums.") any data structure. Supports derive on structs and enums.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public rust-digest-0.9 (define-public rust-digest-0.10
(package (package
(name "rust-digest") (name "rust-digest")
(version "0.9.0") (version "0.10.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "digest" version)) (uri (crate-uri "digest" version))
(file-name (file-name
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk")))) "16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:skip-build? #t
(("rust-blobby" ,rust-blobby-0.1) #:cargo-inputs
("rust-generic-array" ,rust-generic-array-0.14)))) (("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") (home-page "https://github.com/RustCrypto/traits")
(synopsis "Traits for cryptographic hash functions") (synopsis "Traits for cryptographic hash functions")
(description (description
"Traits for cryptographic hash functions.") "Traits for cryptographic hash functions.")
(license (list license:expat license:asl2.0)))) (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
(origin
(method url-fetch)
(uri (crate-uri "digest" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
(arguments
`(#:cargo-inputs
(("rust-blobby" ,rust-blobby-0.1)
("rust-generic-array" ,rust-generic-array-0.14))))))
(define-public rust-digest-0.8 (define-public rust-digest-0.8
(package (package
(inherit rust-digest-0.9) (inherit rust-digest-0.9)