guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/42: gnu: Add rust-salsa20-0.9.


From: guix-commits
Subject: 11/42: gnu: Add rust-salsa20-0.9.
Date: Wed, 19 Jan 2022 08:06:59 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 8aad504cc8b1b4e38d81feeb2c013ef00bb15379
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri Jan 7 15:03:25 2022 +0100

    gnu: Add rust-salsa20-0.9.
    
    * gnu/packages/crates-io.scm (rust-salsa20-0.9): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 32bf6630ee..231a358ae2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47407,6 +47407,29 @@ quickly convert floating point numbers to decimal 
strings.")
      "This package provides a procedural macros for the salsa crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-salsa20-0.9
+  (package
+    (name "rust-salsa20")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "salsa20" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cipher" ,rust-cipher-0.3)
+        ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/RustCrypto/stream-ciphers";)
+    (synopsis "Salsa20 Stream Cipher")
+    (description "Salsa20 is a collection of stream cipher algorithms written
+in pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-salsa-0.17
   (package
     (name "rust-salsa")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]