diff mbox

[2/3] gnu: Add pinentry-gnome3.

Message ID 20161009202712.4434-3-mail@cbaines.net
State New
Headers show

Commit Message

Christopher Baines Oct. 9, 2016, 8:27 p.m. UTC
* gnu/packages/gnupg.scm (pinentry-gnome3): New variable.
---
 gnu/packages/gnupg.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index b4b4f75..b80e39b 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -637,6 +637,22 @@  including tools for signing keys, keyring analysis, and party preparation.
      "Pinentry provides a console and a GTK+ GUI that allows users to enter a
 passphrase when @code{gpg} is run and needs it.")))
 
+(define-public pinentry-gnome3
+  (package
+    (inherit pinentry-tty)
+    (name "pinentry-gnome3")
+    (inputs
+     `(("gtk+" ,gtk+-2)
+       ("gcr" ,gcr)
+       ("glib" ,glib)
+       ,@(package-inputs pinentry-tty)))
+    (arguments
+     `(#:configure-flags '("--enable-pinentry-gnome3")))
+    (description
+     "Pinentry provides a console and a GUI designed for use with Gnome 3 that
+allows users to enter a passphrase when required by @code{gpg} or other
+software.")))
+
 (define-public pinentry-qt
   (package
     (inherit pinentry-tty)