gnu: Add rust-streebog-0.9.

* gnu/packages/crates-io.scm (rust-streebog-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Domagoj Stolfa 2021-07-11 15:55:44 +01:00 committed by Efraim Flashner
parent 7dcf9131bd
commit 83d342a26d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -44177,6 +44177,34 @@ (define-public rust-streaming-stats-0.2
(license (list license:unlicense
license:expat))))
(define-public rust-streebog-0.9
(package
(name "rust-streebog")
(version "0.9.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "streebog" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9)
("rust-digest" ,rust-digest-0.9)
("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 "Streebog (GOST R 34.11-2012) hash function")
(description
"This package provides a streebog (GOST R 34.11-2012) hash function.")
(license (list license:expat license:asl2.0))))
(define-public rust-string-0.2
(package
(name "rust-string")