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:
parent
fa03268c89
commit
7be6c86a5e
1 changed files with 12 additions and 12 deletions
|
@ -2060,25 +2060,25 @@ or unexpected behavior inside an elisp configuration file (typically
|
||||||
(package
|
(package
|
||||||
(name "emacs-wget")
|
(name "emacs-wget")
|
||||||
(version "0.5.0")
|
(version "0.5.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
|
(method url-fetch)
|
||||||
version ".orig.tar.gz"))
|
(uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
|
||||||
(sha256
|
version ".orig.tar.gz"))
|
||||||
(base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
|
(sha256
|
||||||
|
(base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(inputs (list wget))
|
(inputs (list wget))
|
||||||
(native-inputs `(("emacs" ,emacs-minimal)))
|
(native-inputs
|
||||||
|
(list emacs-minimal))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ;no check target
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-exec-paths
|
(add-after 'unpack 'patch-exec-paths
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((wget (assoc-ref inputs "wget")))
|
(emacs-substitute-variables "wget.el"
|
||||||
(emacs-substitute-variables "wget.el"
|
("wget-command" (search-input-file inputs "/bin/wget"))))))))
|
||||||
("wget-command" (string-append wget "/bin/wget"))))
|
|
||||||
#t)))))
|
|
||||||
(home-page "https://www.emacswiki.org/emacs/EmacsWget")
|
(home-page "https://www.emacswiki.org/emacs/EmacsWget")
|
||||||
(synopsis "Simple file downloader for Emacs based on wget")
|
(synopsis "Simple file downloader for Emacs based on wget")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue