summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAttila Lendvai <attila@lendvai.name>2022-01-19 11:52:52 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-28 01:10:49 +0100
commit79b30bc66c83e8f932e1528bf200cd4bbb4c8a2c (patch)
treeddf2bc7308e40d1c67df0884048a5b64b868ffe4 /gnu/packages
parentbd1aecf5fb0a07fb17b0ac63bd61cdf0dda20b03 (diff)
downloadguix-79b30bc66c83e8f932e1528bf200cd4bbb4c8a2c.tar.gz
gnu: Add rust-salsa20 0.7.1.
* gnu/packages/crates-io.scm (rust-salsa20-0.7): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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")