diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4c18e58671..82b1c3d8de 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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")