gnu: Add python2-pgpdump.

* gnu/packages/gnupg.scm (python2-pgpdump): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
ng0 2017-10-21 23:41:26 +00:00 committed by Ludovic Courtès
parent 0046309398
commit 7756eab078
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 31 additions and 0 deletions

View File

@ -978,3 +978,34 @@ keyring content. Parcimonie is a daemon that fetches one key at a time using
the Tor network, waits a bit, changes the Tor circuit being used, and starts
over.")
(license license:gpl1+)))
(define-public python2-pgpdump
(package
(name "python2-pgpdump")
(version "1.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pgpdump" version))
(sha256
(base32
"0s4nh8h7qsdj2yf29bspjs1zvxd4lcd11r6g11dp7fppgf2h0iqw"))))
(build-system python-build-system)
;; Currently fails to build with Python 3.
(arguments `(#:python ,python-2))
(home-page "https://github.com/toofishes/python-pgpdump")
(synopsis "Python library for parsing PGP packets")
(description
"Python-pgpdump is an OpenPGP packet parser based on
@uref{http://www.mew.org/~kazu/proj/pgpdump/, pgpdump}. It notably supports:
@itemize
@item signature packets;
@item public key packets;
@item secret key packets;
@item trust, user ID, and user attribute packets;
@item ASCII-armor decoding and CRC check.
@end itemize\n")
(license license:bsd-3)))