guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

236/424: gnu: Add rust-secrecy-0.8.


From: guix-commits
Subject: 236/424: gnu: Add rust-secrecy-0.8.
Date: Sun, 10 Nov 2024 05:42:14 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0a877afddf46f05f75152aba5d406fbe0966fb0b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 22 21:22:06 2024 +0300

    gnu: Add rust-secrecy-0.8.
    
    * gnu/packages/crates-io.scm (rust-secrecy-0.8): New variable.
    
    Change-Id: I8f8decc082a87bdbba27326776577db6e705ac61
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c75bb12fc..e49f866789 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69490,6 +69490,32 @@ statistical guarantees.")
     (description "This package provides low-level bindings to libseccomp.")
     (license license:lgpl2.1)))
 
+(define-public rust-secrecy-0.8
+  (package
+    (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"))))
+    (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))))
+
 (define-public rust-secret-service-3
   (package
     (name "rust-secret-service")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]