gnu: khard: Update to 0.16.1.

* gnu/packages/mail.scm (khard): Update to 0.16.1.
[arguments]: Remove custom 'install-doc phase. Add 'install-completions
phase.
This commit is contained in:
Efraim Flashner 2020-04-16 21:41:03 +03:00
parent 9cb2f28c5a
commit 70333ee612
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1958,22 +1958,22 @@ (define-public procmail
(define-public khard (define-public khard
(package (package
(name "khard") (name "khard")
(version "0.15.1") (version "0.16.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri name version)) (uri (pypi-uri name version))
(sha256 (sha256
(base32 (base32
"18ba2xgfq8sw0bg6xmlfjpizid1hkzgswcfcc54gl21y2dwfda2w")))) "0fg4qh5gzki5wg958wlpc8a2icnk74gzg33lqxjm755cfnjng7qd"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'install 'install-doc (add-after 'install 'install-completions
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/khard"))) (zsh (string-append out "/share/zsh/site-functions")))
(copy-recursively "misc/khard" doc) (copy-recursively "misc/zsh" zsh)
#t)))))) #t))))))
(native-inputs (native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm))) `(("python-setuptools-scm" ,python-setuptools-scm)))