summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 22:29:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 22:23:15 +0200
commitfecf61d2ac2cfddaff66596d16b2bafc0b6a5fad (patch)
tree33a8669c74ee79aff15dcd07a7959067d8c61adf
parentdd6e098281abde0a97dad33877cceeffc1f3726a (diff)
gnu: Add rust-blake2-0.8.
* gnu/packages/crates-io.scm (rust-blake2-0.8): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd033dd61e..9c5b1af15c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1038,6 +1038,35 @@ behave like a set of bitflags.")
(base32
"0v8hh6wdkpk9my8z8442g4hqrqf05h0qj53dsay6mv18lqvqklda"))))))
+(define-public rust-blake2-0.8
+ (package
+ (name "rust-blake2")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blake2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0c4k11j04kqhkci6i9b7lz6p13kpcv228pdqixgrawvavaq0gjwl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-byte-tools" ,rust-byte-tools-0.3)
+ ("rust-crypto-mac" ,rust-crypto-mac-0.7)
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-opaque-debug" ,rust-opaque-debug-0.2))
+ #:cargo-development-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.7)
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-hex-literal" ,rust-hex-literal-0.1))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "BLAKE2 hash functions")
+ (description "This package provides BLAKE2 hash functions in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-blake2-rfc-0.2
(package
(name "rust-blake2-rfc")