Subject: bug#31930: closed (Re: [bug#31930] [PATCH] gnu: Add emacs-pinentry.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 25 Jun 2018 19:22:02 +0000

Your bug report

#31930: [PATCH] gnu: Add emacs-pinentry.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31930
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#31930] [PATCH] gnu: Add emacs-pinentry.
From: Marius Bakke <[email-masked]>
To: Pierre Neidhardt <[email-masked]>, [email-masked]
Date: Mon, 25 Jun 2018 21:21:16 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Pierre Neidhardt <[email-masked]> writes:

> * gnu/packages/emacs.scm (emacs-pinentry): New variable.

Applied with the cosmetic changes below, thanks!

1 file changed, 7 insertions(+), 8 deletions(-)
gnu/packages/emacs.scm | 15 +++++++--------

modified   gnu/packages/emacs.scm
@@ -11286,16 +11286,17 @@ maps the thread tree.")
       (license license:gpl3+))))
 
 (define-public emacs-pinentry
-  (let ((commit "dcc9ba03252ee5d39e03bba31b420e0708c3ba0c"))
+  (let ((commit "dcc9ba03252ee5d39e03bba31b420e0708c3ba0c")
+        (revision "1"))
     (package
       (name "emacs-pinentry")
-      (version (git-version  "0.1" "1" commit))
+      (version (git-version  "0.1" revision commit))
       (source
        (origin
          (method url-fetch)
          (uri (string-append
-               "http://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/packages/pinentry/pinentry.el?id="
-               commit))
+               "http://git.savannah.gnu.org/cgit/emacs/elpa.git/plain"
+               "/packages/pinentry/pinentry.el?id=" commit))
          (file-name (string-append "pinentry.el"))
          (sha256
           (base32
@@ -11303,10 +11304,8 @@ maps the thread tree.")
       (build-system emacs-build-system)
       (propagated-inputs
        `(("gnupg" ,gnupg)))
-      (home-page
-       "https://elpa.gnu.org/packages/pinentry.html")
-      (synopsis
-       "GnuPG Pinentry server implementation")
+      (home-page "https://elpa.gnu.org/packages/pinentry.html")
+      (synopsis "GnuPG Pinentry server implementation")
       (description
        "This package allows GnuPG passphrase to be prompted through the
 minibuffer instead of graphical dialog.

[back]

Subject: [PATCH] gnu: Add emacs-pinentry.
From: Pierre Neidhardt <[email-masked]>
To: [email-masked]
Date: Thu, 21 Jun 2018 19:14:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs.scm (emacs-pinentry): New variable.
---
 gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index cdd72ec55..f1cd47610 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -108,6 +108,7 @@
   #:use-module (gnu packages password-utils)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages shells)
+  #:use-module (gnu packages gnupg)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -11283,3 +11284,34 @@ their own face.  Threads can be displayed linearly (in which case e-mails are
 displayed in chronological order) or as an Org document where the node tree
 maps the thread tree.")
       (license license:gpl3+))))
+
+(define-public emacs-pinentry
+  (let ((commit "dcc9ba03252ee5d39e03bba31b420e0708c3ba0c"))
+    (package
+      (name "emacs-pinentry")
+      (version (git-version  "0.1" "1" commit))
+      (source
+       (origin
+         (method url-fetch)
+         (uri (string-append
+               "http://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/packages/pinentry/pinentry.el?id="
+               commit))
+         (file-name (string-append "pinentry.el"))
+         (sha256
+          (base32
+           "1lf30q6r8nz5cjzclbb9bbymsk2y75nskvb55hnjdv93gr3j0sik"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("gnupg" ,gnupg)))
+      (home-page
+       "https://elpa.gnu.org/packages/pinentry.html")
+      (synopsis
+       "GnuPG Pinentry server implementation")
+      (description
+       "This package allows GnuPG passphrase to be prompted through the
+minibuffer instead of graphical dialog.
+
+To use, add @code{allow-emacs-pinentry} to @code{~/.gnupg/gpg-agent.conf},
+reload the configuration with @code{gpgconf --reload gpg-agent}, and start the
+server with @code{M-x pinentry-start}.")
+      (license license:gpl3+))))
-- 
2.17.1