From 8cf8dace1493d3008caa099dc3b4e73ba3066c69 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 22 Feb 2023 12:17:29 +0200 Subject: [PATCH] gnu: Add rust-kuznyechik-0.8. * gnu/packages/crates-io.scm (rust-kuznyechik-0.8): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6af7795046..88eaa8f46f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27124,6 +27124,28 @@ characters in HTML, decoding and unescaping HTML entities as well.") and traversing, manipulating, and querying the document tree.") (license license:expat))) +(define-public rust-kuznyechik-0.8 + (package + (name "rust-kuznyechik") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "kuznyechik" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0av39qh65xchvpfjkcwh861h9bzmmrgcrzl5h0sa5b692xabd0w4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Kuznyechik (GOST R 34.12-2015) block cipher") + (description "Kuznyechik (GOST R 34.12-2015) block cipher") + (license (list license:expat license:asl2.0)))) + (define-public rust-http-0.2 (package (name "rust-http")