Subject: [PATCH 23/42] gnu: Add rust-pinentry-0.5.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:40 +0200

* gnu/packages/crates-io.scm (rust-pinentry-0.5): New variable.

Change-Id: I66694abc50b04b6d0e630a1d7de37cdfb8e675a5
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e60e1d9160..f7fd6a2b7b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53372,6 +53372,31 @@ (define-public rust-pin-utils-0.1
     (description "This crate provides utilities for pinning values on the stack.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pinentry-0.5
+  (package
+    (name "rust-pinentry")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pinentry" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j4grhhn4q3f4dycnkxr0lcvlv417ysnvs2fm0mmwsmyd2ybi9dz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-percent-encoding" ,rust-percent-encoding-2)
+                       ("rust-secrecy" ,rust-secrecy-0.8)
+                       ("rust-which" ,rust-which-4)
+                       ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/str4d/pinentry-rs")
+    (synopsis "API for interacting with pinentry binaries")
+    (description "This crate provides API for interacting with pinentry
+binaries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-pinot-0.1
   (package
     (name "rust-pinot")
-- 
2.41.0