summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 48a05fb8be..6ca41d7e44 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44713,6 +44713,33 @@ functions core functionality.")
(("rust-gcc" ,rust-gcc-0.3)
("rust-generic-array" ,rust-generic-array-0.8))))))
+(define-public rust-sha3-0.9
+ (package
+ (name "rust-sha3")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha3" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.9)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-keccak" ,rust-keccak-0.1)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+ #:cargo-development-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "SHA-3 (Keccak) hash function")
+ (description "This package provides a pure Rust implementation of the SHA-3
+(Keccak) hash function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-shader-version-0.6
(package
(name "rust-shader-version")