[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
205/330: gnu: Add rust-chacha20poly1305-0.10.
From: |
guix-commits |
Subject: |
205/330: gnu: Add rust-chacha20poly1305-0.10. |
Date: |
Mon, 18 Mar 2024 07:16:12 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit aad64168631d49daa6c57b1e24df446971baa10a
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:07:58 2024 +0100
gnu: Add rust-chacha20poly1305-0.10.
* gnu/packages/crates-crypto.scm (rust-chacha20poly1305-0.10): Add
variable.
(rust-chacha20poly1305-0.9): Inherit from rust-chacha20poly1305-0.10.
Change-Id: I8e3d9270bb06baa051bb9eff8a7a507c5ac4a9ad
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-crypto.scm | 43 ++++++++++++++++++++++++++++++------------
1 file changed, 31 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 410d0b5d89..57051c80c9 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1169,8 +1169,38 @@ XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and
also optional
(("rust-cipher" ,rust-cipher-0.3)
("rust-hex-literal" ,rust-hex-literal-0.2))))))
+(define-public rust-chacha20poly1305-0.10
+ (package
+ (name "rust-chacha20poly1305")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20poly1305" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dfwq9ag7x7lnd0znafpcn8h7k4nfr9gkzm0w7sc1lcj451pkk8h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5)
+ ("rust-chacha20" ,rust-chacha20-0.9)
+ ("rust-cipher" ,rust-cipher-0.4)
+ ("rust-poly1305" ,rust-poly1305-0.8)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-aead" ,rust-aead-0.5))))
+ (home-page
"https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305")
+ (synopsis "Rust implementation of ChaCha20Poly1305 Authenticated
Encryption")
+ (description
+ "Pure Rust implementation of the ChaCha20Poly1305 Authenticated Encryption
+with Additional Data Cipher (RFC 8439) with optional architecture-specific
+hardware acceleration. Also contains implementations of the XChaCha20Poly1305
+extended nonce variant of ChaCha20Poly1305, and the reduced-round
+ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-chacha20poly1305-0.9
(package
+ (inherit rust-chacha20poly1305-0.10)
(name "rust-chacha20poly1305")
(version "0.9.1")
(source
@@ -1185,7 +1215,6 @@ XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and
also optional
'(begin
(substitute* "Cargo.toml"
(("version = \">=1, <1.5\"") "version = \"^1\""))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aead" ,rust-aead-0.4)
@@ -1194,17 +1223,7 @@ XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and
also optional
("rust-poly1305" ,rust-poly1305-0.7)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
- (("rust-aead" ,rust-aead-0.4))))
- (home-page
"https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305")
- (synopsis
- "Pure Rust implementation of ChaCha20Poly1305 Authenticated Encryption")
- (description
- "Pure Rust implementation of the ChaCha20Poly1305 Authenticated
-Encryption with Additional Data Cipher (RFC 8439) with optional
-architecture-specific hardware acceleration. Also contains implementations of
-the XChaCha20Poly1305 extended nonce variant of ChaCha20Poly1305, and the
-reduced-round ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.")
- (license (list license:asl2.0 license:expat))))
+ (("rust-aead" ,rust-aead-0.4))))))
(define-public rust-cipher-0.4
(package
- 319/330: gnu: Add rust-afl-0.11., (continued)
- 319/330: gnu: Add rust-afl-0.11., guix-commits, 2024/03/18
- 323/330: gnu: Add rust-csrf-0.4., guix-commits, 2024/03/18
- 330/330: gnu: Add rust-salvo-0.16., guix-commits, 2024/03/18
- 313/330: gnu: Add rust-handlebars-4., guix-commits, 2024/03/18
- 213/330: gnu: Add rust-libtest-mimic-0.7., guix-commits, 2024/03/18
- 207/330: gnu: rust-mockall-derive-0.11: Update to 0.11.4., guix-commits, 2024/03/18
- 206/330: gnu: Add rust-fragile-2., guix-commits, 2024/03/18
- 210/330: gnu: rust-snapbox-macros-0.3: Update to 0.3.8., guix-commits, 2024/03/18
- 212/330: gnu: Add rust-anstyle-svg-0.1., guix-commits, 2024/03/18
- 217/330: gnu: Add rust-toml-edit-0.22., guix-commits, 2024/03/18
- 205/330: gnu: Add rust-chacha20poly1305-0.10.,
guix-commits <=
- 202/330: gnu: Add rust-isahc-1., guix-commits, 2024/03/18
- 204/330: gnu: Add rust-str-stack-0.1., guix-commits, 2024/03/18
- 215/330: gnu: Add rust-escape8259-0.5., guix-commits, 2024/03/18
- 222/330: gnu: rust-palette-derive-0.7: Update to 0.7.5., guix-commits, 2024/03/18
- 211/330: gnu: Add rust-snapbox-0.5., guix-commits, 2024/03/18
- 224/330: gnu: Add rust-path-clean-1., guix-commits, 2024/03/18
- 225/330: gnu: rust-rayon-1: Update to 1.9.0., guix-commits, 2024/03/18
- 218/330: gnu: Add rust-circular-0.3., guix-commits, 2024/03/18
- 226/330: gnu: rust-rayon-core-1: Update to 1.12.1., guix-commits, 2024/03/18
- 228/330: gnu: Add rust-wasm-sync-0.1., guix-commits, 2024/03/18