gnu: pius: Update to 2.2.3.

* gnu/packages/gnupg.scm (pius): Update to 2.2.3.
[source]: Switch back to using the tarball release.
[arguments]: End 'set-gpg-file-name' phase on #t.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Troy Sankey 2017-01-26 18:16:43 -05:00 committed by Marius Bakke
parent 95757d8999
commit cda0ef045f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -496,25 +496,17 @@ (define-public python2-gnupg
(package-with-python2 python-gnupg)) (package-with-python2 python-gnupg))
(define-public pius (define-public pius
;; pius 2.2.2 does not work with gpg-agent 2.1, so we take a newer
;; commit. When a new pius (> 2.2.2) is released, update this package
;; and delete this message.
;; More info: https://github.com/jaymzh/pius/issues/46
(let ((commit "891687ccb3d232a1fc0e7da7d22572c0318644cb")
(base-version "2.2.2")) ; i.e. there were no releases
; between BASE-VERSION and COMMIT
(package (package
(name "pius") (name "pius")
(version (string-append base-version "-0." (version "2.2.3")
(string-take commit 7)))
(source (origin (source (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri (string-append
(url "https://github.com/jaymzh/pius.git") "https://github.com/jaymzh/pius/releases/download/v"
(commit commit))) version "/pius-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0m2na4bnf1rv0zpf404l9ga6pwyf7ijldp4lw5irgh7gkmpllxr3")))) "0iy0gnms6lv9hpvk29313kc495a2f7pq2mg6ljxhy233vxsmjsk6"))))
(build-system python-build-system) (build-system python-build-system)
(inputs `(("perl" ,perl) ;for 'pius-party-worksheet' (inputs `(("perl" ,perl) ;for 'pius-party-worksheet'
("gpg" ,gnupg))) ("gpg" ,gnupg)))
@ -529,7 +521,8 @@ (define-public pius
(let* ((gpg (string-append (assoc-ref inputs "gpg") (let* ((gpg (string-append (assoc-ref inputs "gpg")
"/bin/gpg"))) "/bin/gpg")))
(substitute* "libpius/constants.py" (substitute* "libpius/constants.py"
(("/usr/bin/gpg2") gpg)))))))) (("/usr/bin/gpg2") gpg))
#t))))))
(synopsis "Programs to simplify GnuPG key signing") (synopsis "Programs to simplify GnuPG key signing")
(description (description
"Pius (PGP Individual UID Signer) helps attendees of PGP keysigning "Pius (PGP Individual UID Signer) helps attendees of PGP keysigning
@ -541,7 +534,7 @@ (define-public pius
pius-keyring-mgr and pius-party-worksheet help organisers of pius-keyring-mgr and pius-party-worksheet help organisers of
PGP keysigning parties.") PGP keysigning parties.")
(license license:gpl2) (license license:gpl2)
(home-page "https://www.phildev.net/pius/index.shtml")))) (home-page "https://www.phildev.net/pius/index.shtml")))
(define-public signing-party (define-public signing-party
(package (package