me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-aes-gcm-0.9.

* gnu/packages/crates-crypto.scm (rust-aes-gcm-0.9): New variable.

Change-Id: Idab2128d71ee39eb690f3c0d70edc06d8356b8d4
master
Efraim Flashner 2024-03-18 12:01:41 +02:00
parent 33e7795243
commit ef6e0a3855
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 30 additions and 0 deletions

View File

@ -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)