[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
324/330: gnu: Add rust-chacha20poly1305-0.8.
From: |
guix-commits |
Subject: |
324/330: gnu: Add rust-chacha20poly1305-0.8. |
Date: |
Mon, 18 Mar 2024 07:16:50 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit a134a74e3dfbb0ead4bdc1afc30ee21071a2d66c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:41 2024 +0200
gnu: Add rust-chacha20poly1305-0.8.
* gnu/packages/crates-crypto.scm (rust-chacha20poly1305-0.8): New variable.
Change-Id: I088a430df1eaa6935d02d1f02d0b7b30439e760b
---
gnu/packages/crates-crypto.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 3c6383b66e..671be641ec 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1225,6 +1225,31 @@ ChaCha8Poly1305 and ChaCha12Poly1305 lightweight
variants.")
#:cargo-development-inputs
(("rust-aead" ,rust-aead-0.4))))))
+(define-public rust-chacha20poly1305-0.8
+ (package
+ (inherit rust-chacha20poly1305-0.10)
+ (name "rust-chacha20poly1305")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20poly1305" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18mb6k1w71dqv5q50an4rvp19l6yg8ssmvfrmknjfh2z0az7lm5n"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ (("version = \">=1, <1.4\"") "version = \"^1\""))))))
+ (arguments
+ `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4)
+ ("rust-chacha20" ,rust-chacha20-0.7)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-poly1305" ,rust-poly1305-0.7)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-aead" ,rust-aead-0.4))))))
+
(define-public rust-cipher-0.4
(package
(name "rust-cipher")
- 192/330: gnu: Add rust-eui48-1., (continued)
- 192/330: gnu: Add rust-eui48-1., guix-commits, 2024/03/18
- 303/330: gnu: Add rust-prost-derive-0.10., guix-commits, 2024/03/18
- 311/330: gnu: Add rust-inlinable-string-0.1., guix-commits, 2024/03/18
- 309/330: gnu: Add rust-local-channel-0.1., guix-commits, 2024/03/18
- 321/330: gnu: Add rust-polyval-0.5., guix-commits, 2024/03/18
- 327/330: gnu: Add rust-salvo-macros-0.16., guix-commits, 2024/03/18
- 316/330: gnu: Add rust-cpp-demangle-0.3., guix-commits, 2024/03/18
- 329/330: gnu: Add rust-salvo-core-0.16., guix-commits, 2024/03/18
- 320/330: gnu: Add rust-simple-asn1-0.4., guix-commits, 2024/03/18
- 326/330: gnu: Add rust-aes-gcm-0.9., guix-commits, 2024/03/18
- 324/330: gnu: Add rust-chacha20poly1305-0.8.,
guix-commits <=
- 317/330: gnu: Add rust-core-error-0.0.0., guix-commits, 2024/03/18