[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
326/330: gnu: Add rust-aes-gcm-0.9.
From: |
guix-commits |
Subject: |
326/330: gnu: Add rust-aes-gcm-0.9. |
Date: |
Mon, 18 Mar 2024 07:16:51 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit f5c2f097b60738d79a27ab2c6acfd75bb598d950
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:41 2024 +0200
gnu: Add rust-aes-gcm-0.9.
* gnu/packages/crates-crypto.scm (rust-aes-gcm-0.9): New variable.
Change-Id: Idab2128d71ee39eb690f3c0d70edc06d8356b8d4
---
gnu/packages/crates-crypto.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 4af2184d52..e6beab8bba 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -319,6 +319,36 @@ Data (AEAD) Cipher with optional architecture-specific
hardware
acceleration.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-aes-gcm-0.9
+ (package
+ (inherit rust-aes-gcm-0.10)
+ (name "rust-aes-gcm")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aes-gcm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xndncn1phjb7pjam63vl0yp7h8jh95m0yxanr1092vx7al8apyz"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*),"
+ " <([[:digit:]]+(\\.[[:digit:]]+)*)")
+ _ version _)
+ (string-append ">=" version)))))))
+ (arguments
+ `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4)
+ ("rust-aes" ,rust-aes-0.7)
+ ("rust-cipher" ,rust-cipher-0.3)
+ ("rust-ctr" ,rust-ctr-0.8)
+ ("rust-ghash" ,rust-ghash-0.4)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-aead" ,rust-aead-0.4)
+ ("rust-hex-literal"
,rust-hex-literal-0.3))))))
+
(define-public rust-aes-gcm-0.8
(package
(inherit rust-aes-gcm-0.10)
- 191/330: gnu: Add rust-tun-tap-0.1., (continued)
- 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
- 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 <=
- 324/330: gnu: Add rust-chacha20poly1305-0.8., guix-commits, 2024/03/18
- 317/330: gnu: Add rust-core-error-0.0.0., guix-commits, 2024/03/18