Subject: [PATCH 02/10] gnu: Add python-pgpy.

From: Alexandru-Sergiu Marton <[email-masked]>
Date: Thu, 9 Jul 2020 22:19:10 +0300

* gnu/packages/python-crypto.scm (python-pgpy): New variable.
---
 gnu/packages/python-crypto.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 5c9c251c01..f91e1e0999 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1429,3 +1429,28 @@ can decide how long it takes to hash a password and how much memory is required.
 data such as API keys, cryptocurrency wallets, or seeds for digital
 signatures.")
     (license (list license:expat license:asl2.0)))) ; dual licensed
+
+(define-public python-pgpy
+  (package
+    (name "python-pgpy")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PGPy" version))
+       (sha256
+        (base32
+         "0i4lqhzdwkjkim3wab0kqadx28z3r5ixlh6qxj4lif4gif56c0m7"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-pyasn1" ,python-pyasn1)
+       ("python-six" ,python-six)))
+    (home-page
+     "https://github.com/SecurityInnovation/PGPy")
+    (synopsis "Pretty Good Privacy for Python")
+    (description
+     "PGPy is a Python (2 and 3) library for implementing Pretty Good
+Privacy into Python programs, conforming to the OpenPGP specification
+per RFC 4880.")
+    (license license:bsd-3)))
-- 
2.27.0