From ef3e94fceaf8123b97103d9ed1f9cdc990ed4d01 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:44:51 -0800 Subject: [PATCH 169/206] gnu: Add rust-c2-chacha-0.2. * gnu/packages/crates-io.scm (rust-c2-chacha-0.2): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9817e2a0e1..ce803c5d85 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -792,6 +792,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 + ;; `(#: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 `(,license:asl2.0 ,license:expat)))) + (define-public rust-cargon-0.0 (package (name "rust-cargon") -- 2.24.0