gnu: emacs-wget: Use new package style.

* gnu/packages/emacs-xyz.scm (emacs-wget)[native-inputs]: Remove label.
[arguments]<#:phases>: Use SEARCH-INPUT-FILE.  Remove trailing #T.
This commit is contained in:
Nicolas Goaziou 2021-12-14 17:42:55 +01:00
parent fa03268c89
commit 7be6c86a5e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2060,7 +2060,8 @@ (define-public emacs-wget
(package
(name "emacs-wget")
(version "0.5.0")
(source (origin
(source
(origin
(method url-fetch)
(uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
version ".orig.tar.gz"))
@ -2068,17 +2069,16 @@ (define-public emacs-wget
(base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
(build-system emacs-build-system)
(inputs (list wget))
(native-inputs `(("emacs" ,emacs-minimal)))
(native-inputs
(list emacs-minimal))
(arguments
`(#:tests? #f ;no check target
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-exec-paths
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((wget (assoc-ref inputs "wget")))
(emacs-substitute-variables "wget.el"
("wget-command" (string-append wget "/bin/wget"))))
#t)))))
("wget-command" (search-input-file inputs "/bin/wget"))))))))
(home-page "https://www.emacswiki.org/emacs/EmacsWget")
(synopsis "Simple file downloader for Emacs based on wget")
(description