me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-streebog-0.10.

* gnu/packages/crates-io.scm (rust-streebog-0.10): New variable.
Nicolas Goaziou 2022-01-19 13:32:46 +01:00
parent b08fb5041b
commit 48d1649f57
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 26 additions and 7 deletions

View File

@ -53382,8 +53382,33 @@ iterated over only by reference rather than by value.")
(license (list license:unlicense (license (list license:unlicense
license:expat)))) license:expat))))
(define-public rust-streebog-0.10
(package
(name "rust-streebog")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "streebog" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-digest" ,rust-digest-0.10))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.10)
("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-streebog-0.9 (define-public rust-streebog-0.9
(package (package
(inherit rust-streebog-0.10)
(name "rust-streebog") (name "rust-streebog")
(version "0.9.2") (version "0.9.2")
(source (source
@ -53395,7 +53420,6 @@ iterated over only by reference rather than by value.")
(sha256 (sha256
(base32 (base32
"0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr")))) "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.9) (("rust-block-buffer" ,rust-block-buffer-0.9)
@ -53403,12 +53427,7 @@ iterated over only by reference rather than by value.")
("rust-opaque-debug" ,rust-opaque-debug-0.3)) ("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-digest" ,rust-digest-0.9) (("rust-digest" ,rust-digest-0.9)
("rust-hex-literal" ,rust-hex-literal-0.2)))) ("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-strength-reduce-0.2 (define-public rust-strength-reduce-0.2
(package (package