guix-patches
[Top][All Lists]
Advanced

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

[bug#53085] [PATCH 11/41] gnu: rust-rbw: adding salsa20


From: Nicolas Graves
Subject: [bug#53085] [PATCH 11/41] gnu: rust-rbw: adding salsa20
Date: Fri, 07 Jan 2022 15:03:25 +0100
User-agent: mu4e 1.6.10; emacs 28.0.50

>From d03609a92d3ffe7a6f22c0d06eac58ef6ac13484 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 02:37:14 +0100
Subject: [PATCH 12/42] rust-rbw dependencies : adding rust-salsa20

---
 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 00e1b3a30b..86a361cfc6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47077,6 +47077,30 @@ (define-public rust-salsa-macros-0.17
      "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                              ; FIXME
+        #:cargo-inputs
+        (("rust-cipher" ,rust-cipher-0.3)
+         ("rust-zeroize" ,rust-zeroize-1.4))))
+    (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")
-- 
2.34.0






reply via email to

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