3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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>
This commit is contained in:
Valentin Ignatev 2020-01-19 22:29:23 +03:00 committed by Efraim Flashner
parent dd6e098281
commit fecf61d2ac
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")