aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-01-07 15:08:21 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-19 14:04:42 +0100
commit9463e571b3a7f61bd5173da1f3e4e0f4a90de5d2 (patch)
tree7cf51e423bafedfb42d3da8befb161924a76c07b /gnu
parent30b787f7079e6047cf5045a45f0039ce98cdf565 (diff)
downloadguix-9463e571b3a7f61bd5173da1f3e4e0f4a90de5d2.tar.gz
guix-9463e571b3a7f61bd5173da1f3e4e0f4a90de5d2.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm49
1 files changed, 36 insertions, 13 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df5b4168aa..55abbae8cc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15908,30 +15908,53 @@ 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.9
+(define-public rust-digest-0.10
(package
(name "rust-digest")
- (version "0.9.0")
+ (version "0.10.1")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "digest" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+ (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
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14))))
+ `(#: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
+ (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
(package
(inherit rust-digest-0.9)