[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
325/330: gnu: Add rust-chacha20-0.7.
From: |
guix-commits |
Subject: |
325/330: gnu: Add rust-chacha20-0.7. |
Date: |
Mon, 18 Mar 2024 07:16:51 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit f6d7b02065c3077d3c8d7ff819d628794ccfd54d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:41 2024 +0200
gnu: Add rust-chacha20-0.7.
* gnu/packages/crates-crypto.scm (rust-chacha20-0.7): New variable.
Change-Id: Iae3768dd2b82f67aca148d034d0971aa362d13f6
---
gnu/packages/crates-crypto.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 671be641ec..4af2184d52 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1169,6 +1169,32 @@ 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-chacha20-0.7
+ (package
+ (inherit rust-chacha20-0.9)
+ (name "rust-chacha20")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chacha20" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c8h4sp9zh13v8p9arydjcj92xc6j3mccrjc4mizrvq7fzx9717h"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ (("version = \">=1, <1.4\"") "version = \"^1\""))))))
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.3)
+ ("rust-hex-literal"
,rust-hex-literal-0.2))))))
+
(define-public rust-chacha20poly1305-0.10
(package
(name "rust-chacha20poly1305")
- 298/330: gnu: Add rust-textnonce-1., (continued)
- 298/330: gnu: Add rust-textnonce-1., guix-commits, 2024/03/18
- 299/330: gnu: Add rust-symbolic-demangle-9., guix-commits, 2024/03/18
- 304/330: gnu: Add rust-prost-types-0.10., guix-commits, 2024/03/18
- 302/330: gnu: Add rust-rhai-1., guix-commits, 2024/03/18
- 310/330: gnu: Add rust-listenfd-1., guix-commits, 2024/03/18
- 296/330: gnu: Add rust-tokio-metrics-0.3., guix-commits, 2024/03/18
- 307/330: gnu: Add rust-proc-quote-0.4., guix-commits, 2024/03/18
- 312/330: gnu: Add rust-impl-more-0.1., guix-commits, 2024/03/18
- 322/330: gnu: Add rust-ghash-0.4., guix-commits, 2024/03/18
- 318/330: gnu: Add rust-async-session-3., guix-commits, 2024/03/18
- 325/330: gnu: Add rust-chacha20-0.7.,
guix-commits <=
- 328/330: gnu: Add rust-salvo-extra-0.16., guix-commits, 2024/03/18
- 315/330: gnu: Add rust-exhaustigen-0.1., guix-commits, 2024/03/18
- 168/330: gnu: Add rust-color-backtrace-0.5., guix-commits, 2024/03/18
- 171/330: gnu: Add rust-cargo-husky-1., guix-commits, 2024/03/18
- 191/330: gnu: Add rust-tun-tap-0.1., guix-commits, 2024/03/18
- 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