Subject: Re: [bug#28579] gpa

From: ng0 <[email-masked]>
Date: Mon, 25 Sep 2017 10:44:17 +0000

Final version.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org
From 1dffbc335e3bad37d990f4a1fddc91f60aa25683 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Sun, 24 Sep 2017 15:52:05 +0000
Subject: [PATCH] gnu: Add gpa.

* gnu/packages/gnupg.scm (gpa): New variable.
---
 gnu/packages/gnupg.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index c6af5caa4..f9233924b 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -7,7 +7,7 @@
 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2015, 2016 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2016 Christopher Allan Webber <[email-masked]>
-;;; Copyright © 2016 ng0 <[email-masked]>
+;;; Copyright © 2016, 2017 ng0 <[email-masked]>
 ;;; Copyright © 2016 Christopher Baines <[email-masked]>
 ;;; Copyright © 2016 Mike Gerwitz <[email-masked]>
 ;;; Copyright © 2016 Troy Sankey <[email-masked]>
@@ -822,3 +822,31 @@ qualities.  To reconstruct a secret key, you re-enter those
 bytes (whether by hand, OCR, QR code, or the like) and paperkey can use
 them to transform your existing public key into a secret key.")
     (license license:gpl2+)))
+
+(define-public gpa
+  (package
+    (name "gpa")
+    (version "0.9.10")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnupg/gpa/"
+                          name "-" version ".tar.bz2"))
+      (sha256
+       (base32
+        "09xphbi2456qynwqq5n0yh0zdmdi2ggrj3wk4hsyh5lrzlvcrff3"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gnupg" ,gnupg)
+       ("gpgme" ,gpgme)
+       ("libassuan" ,libassuan)
+       ("libgpg-error" ,libgpg-error)
+       ("gtk+-2" ,gtk+-2)))
+    (home-page "https://gnupg.org/software/gpa/index.html")
+    (synopsis "GUI for GnuPG")
+    (description
+     "GPA, the GNU Privacy Assistant, is a graphical user
+interface for GnuPG.")
+    (license license:gpl3+)))
-- 
2.14.1