gnu: Add rust-secrecy-0.10.

* gnu/packages/crates-io.scm (rust-secrecy-0.10): New variable.
(rust-secrecy-0.8): Inherit from rust-secrecy-0.10.

Change-Id: I3a86f982ae73c599c119c431a259dc7684af208a
This commit is contained in:
Efraim Flashner 2024-12-31 20:49:39 +02:00
parent 945fb95013
commit 7a59d86fa7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -68505,8 +68505,33 @@ (define-public rust-secfmt-0.1
format (struct) containing years, days, hours, minutes and seconds.")
(license license:expat)))
(define-public rust-secrecy-0.10
(package
(name "rust-secrecy")
(version "0.10.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "secrecy" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nmfsf9qm8921v2jliz08bj8zrryqar4gj3d6irqfc3kaj2az4g8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))))
(home-page "https://github.com/iqlusioninc/crates/")
(synopsis "Wrapper types and traits for secret management")
(description
"This package provides wrapper types and traits for secret management which
help ensure they aren't accidentally copied, logged, or otherwise exposed (as
much as possible), and also ensure secrets are securely wiped from memory when
dropped.")
(license (list license:asl2.0 license:expat))))
(define-public rust-secrecy-0.8
(package
(inherit rust-secrecy-0.10)
(name "rust-secrecy")
(version "0.8.0")
(source
@ -68516,20 +68541,10 @@ (define-public rust-secrecy-0.8
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))))
(home-page "https://github.com/iqlusioninc/crates/")
(synopsis
"Wrapper types and traits for secret management")
(description
"This package provides wrapper types and traits for secret management which
help ensure they aren't accidentally copied, logged, or otherwise exposed (as
much as possible), and also ensure secrets are securely wiped from memory when
dropped.")
(license (list license:asl2.0 license:expat))))
("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-secret-service-3
(package