gnu: wgetpaste: Remove dead paste site.

* gnu/packages/wget.scm (wgetpaste)[arguments]: Add custom phase to
remove newly defunct paste site.
This commit is contained in:
Efraim Flashner 2019-05-23 20:58:47 +03:00
parent e4ff9dffe7
commit 234999497d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -96,6 +96,14 @@ (define-public wgetpaste
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(add-after 'unpack 'remove-dead-paste-site
;; This phase is adaped from the following patch:
;; https://gitweb.gentoo.org/repo/gentoo.git/tree/app-text/wgetpaste/files/wgetpaste-remove-dead.patch
(lambda _
(substitute* "wgetpaste"
((" poundpython\"") "\"")
(("-poundpython") "-dpaste"))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))