Subject: [PATCH 2/3] gnu: Add go-github-com-twpayne-go-pinentry-minimal.

From: Nicolas Graves <[email-masked]>
Date: Sun, 23 Oct 2022 11:03:32 +0200

* gnu/packages/security-token.scm (go-github-com-twpayne-go-pinentry-minimal): New variable.
---
 gnu/packages/security-token.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index a286f7a631..78a6388006 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -996,3 +996,28 @@ (define-public go-github-com-go-piv-piv-go
 card certificates. This package provides a simpler alternative to GPG for
 managing asymmetric keys on a YubiKey.")
     (license license:asl2.0)))
+
+(define-public go-github-com-twpayne-go-pinentry-minimal
+  (package
+    (name "go-github-com-twpayne-go-pinentry-minimal")
+    (version "0.0.0-20220113210447-2a5dc4396c2a")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/twpayne/go-pinentry-minimal")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1rzy0r8bf6qhfvymsg36db07pgrv10kn0yanc12ph73mg9rw2qgz"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/twpayne/go-pinentry-minimal/pinentry"
+       #:unpack-path "github.com/twpayne/go-pinentry-minimal"))
+    (home-page "https://github.com/twpayne/go-pinentry-minimal")
+    (synopsis "Pinentry client")
+    (description
+     "This package provides a minimal client to GnuPG's pinentry,
+which only depends on Go's standard library.  It is a fork of
+@url{https://github.com/twpayne/go-pinentry}.")
+    (license license:expat)))
-- 
2.38.0