From 79b30bc66c83e8f932e1528bf200cd4bbb4c8a2c Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Wed, 19 Jan 2022 11:52:52 +0100 Subject: gnu: Add rust-salsa20 0.7.1. * gnu/packages/crates-io.scm (rust-salsa20-0.7): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c291bf9879..7386cae4b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50822,6 +50822,30 @@ in pure Rust.") computation (experimental)") (license (list license:asl2.0 license:expat)))) +(define-public rust-salsa20-0.7 + (package + (name "rust-salsa20") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "salsa20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.2)))) + (home-page "https://github.com/RustCrypto/stream-ciphers") + (synopsis "Salsa20 stream cipher") + (description "This is a Rust library implementing the Salsa20 stream +cipher.") + (license (list license:expat license:asl2.0)))) + (define-public rust-safe-arch-0.5 (package (name "rust-safe-arch") -- cgit v1.2.3