summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <[email protected]>2024-12-31 20:49:39 +0200
committerEfraim Flashner <[email protected]>2025-01-06 12:22:34 +0200
commit7a59d86fa7810345b9640069ac0adbcdeac36242 (patch)
treef98a53f00f6cc4570b2e72e6520e41314f09e14d
parent945fb9501370a862befc2ef2a4ff4f019bb67b0f (diff)
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
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 22 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8050bdeb7b..dfb83bae7a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68505,25 +68505,23 @@ statistical guarantees.")
format (struct) containing years, days, hours, minutes and seconds.")
(license license:expat)))
-(define-public rust-secrecy-0.8
+(define-public rust-secrecy-0.10
(package
(name "rust-secrecy")
- (version "0.8.0")
+ (version "0.10.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "secrecy" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv"))))
+ (base32 "0nmfsf9qm8921v2jliz08bj8zrryqar4gj3d6irqfc3kaj2az4g8"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
- ("rust-serde" ,rust-serde-1)
+ `(#: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")
+ (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
@@ -68531,6 +68529,23 @@ 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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "secrecy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zeroize" ,rust-zeroize-1))))))
+
(define-public rust-secret-service-3
(package
(name "rust-secret-service")