unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53085] [PATCH 11/41] gnu: rust-rbw: adding salsa20
@ 2022-01-07 14:03 Nicolas Graves via Guix-patches via
  2022-01-19 13:39 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-01-07 14:03 UTC (permalink / raw)
  To: 53085

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0012-rust-rbw-dependencies-adding-rust-salsa20.patch --]
[-- Type: text/x-patch, Size: 1612 bytes --]

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#53085] [PATCH 11/41] gnu: rust-rbw: adding salsa20
  2022-01-07 14:03 [bug#53085] [PATCH 11/41] gnu: rust-rbw: adding salsa20 Nicolas Graves via Guix-patches via
@ 2022-01-19 13:39 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-19 13:39 UTC (permalink / raw)
  To: 53085; +Cc: Nicolas Graves, 53085-done

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> 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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 14:03 [bug#53085] [PATCH 11/41] gnu: rust-rbw: adding salsa20 Nicolas Graves via Guix-patches via
2022-01-19 13:39 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).