[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 108/228] gnu: Add rust-chacha20poly1305-0.10.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 108/228] gnu: Add rust-chacha20poly1305-0.10. |
Date: |
Sun, 18 Feb 2024 22:07:58 +0100 |
* gnu/packages/crates-crypto.scm (rust-chacha20poly1305-0.10): Add
variable.
(rust-chacha20poly1305-0.9): Inherit from rust-chacha20poly1305-0.10.
Change-Id: I8e3d9270bb06baa051bb9eff8a7a507c5ac4a9ad
---
gnu/packages/crates-crypto.scm | 46 +++++++++++++++++++++++++---------
1 file changed, 34 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 599fdd3a8c..0a01c18536 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1169,8 +1169,41 @@ (define-public rust-chacha20-0.8
(("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 +1218,6 @@ (define-public rust-chacha20poly1305-0.9
'(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 +1226,7 @@ (define-public rust-chacha20poly1305-0.9
("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
--
2.41.0
- [bug#69257] [PATCH 015/228] gnu: Place rust-twox-hash-1 in alphabetical order., (continued)
- [bug#69257] [PATCH 015/228] gnu: Place rust-twox-hash-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 051/228] gnu: Add rust-pnet-base-0.34., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 101/228] gnu: rust-rustc-demangle-0.1: Update to 0.1.23., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 102/228] gnu: Add rust-opentelemetry-proto-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 103/228] gnu: Add rust-opentelemetry-otlp-0.14., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 105/228] gnu: Add rust-tracing-opentelemetry-0.22., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 104/228] gnu: Add rust-opentelemetry-stdout-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 106/228] gnu: Add rust-mas-tower-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 107/228] gnu: Add rust-mas-http-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 109/228] gnu: Add rust-mas-keystore-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 108/228] gnu: Add rust-chacha20poly1305-0.10.,
Herman Rimm <=
- [bug#69257] [PATCH 110/228] gnu: Place rust-const-format-proc-macros-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 113/228] gnu: Place rust-const-cstr-0.3 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 112/228] gnu: Place rust-const-fn-assert-0.1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 114/228] gnu: Place rust-compound-duration-1 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 115/228] gnu: Add rust-warp-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 111/228] gnu: Place rust-const-format-0.2 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 120/228] gnu: Add rust-config-0.13., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 119/228] gnu: Add rust-temp-env-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 122/228] gnu: Add rust-deadpool-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 125/228] gnu: Add rust-mas-oidc-client-0.7., Herman Rimm, 2024/02/18