aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 08:44:51 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:42 +0200
commit6b69ca248a21c296942b73f9c87dd04d7ab468a8 (patch)
treeb91862ccfbdb5bd7b0d28130af8a4d68a1c252a6 /gnu
parent4fc46b9ad08e839f287ff5eab7f227e9ab3e0322 (diff)
downloadguix-6b69ca248a21c296942b73f9c87dd04d7ab468a8.tar
guix-6b69ca248a21c296942b73f9c87dd04d7ab468a8.tar.gz
gnu: Add rust-c2-chacha-0.2.
* gnu/packages/crates-io.scm (rust-c2-chacha-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 274d9f20cb..eecd0b1cbd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -780,6 +780,35 @@ little-endian.")
"Types and traits for working with bytes.")
(license license:expat)))
+(define-public rust-c2-chacha-0.2
+ (package
+ (name "rust-c2-chacha")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "c2-chacha" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "00a11qdc8mg3z0k613rhprkc9p6xz0y7b1681x32ixg0hr3x0r3x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-ppv-lite86" ,rust-ppv-lite86-0.2)
+ ("rust-stream-cipher" ,rust-stream-cipher-0.3))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
+ (synopsis "The ChaCha family of stream ciphers")
+ (description
+ "The ChaCha family of stream ciphers.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-cargon-0.0
(package
(name "rust-cargon")