diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-12 14:41:38 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-13 12:46:42 +0100 |
| commit | ab6100a59db311a79df4e113e5096b6ab8ae9bff (patch) | |
| tree | 5d2b33d0e2884b65a71784e34cc58320bc6e532c | |
| parent | c383446efd5cbbdad4e4d760d9484c88080618ba (diff) | |
gnu: emacs-ytdl: Replace youtube-dl input by yt-dlp.
* gnu/packages/emacs-xyz.scm (emacs-ytdl)
[arguments]: Rewrite using gexps.
<#:phases>: Replace youtube-dl by yt-dlp in phase 'configure.
[decription, inputs]: Replace youtube-dl by yt-dlp.
Change-Id: I36c6d9758187781a44b79cd736a8345114a5a166
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5d3a5c9b26..9ccacb7e56 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -32826,27 +32826,28 @@ can be queued at any time.") (base32 "0y62lkgsg19j05dpd6sp6zify8vq8xvpc8caqiy4rwi7p4ahacsf")))) (build-system emacs-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'configure - (lambda* (#:key inputs #:allow-other-keys) - ;; .el is read-only in git. - (make-file-writable "ytdl.el") - ;; Specify the absolute file names of the various programs so - ;; that everything works out-of-the-box. - (emacs-substitute-variables "ytdl.el" - ("ytdl-command" - (search-input-file inputs "/bin/youtube-dl")))))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + ;; .el is read-only in git. + (make-file-writable "ytdl.el") + ;; Specify the absolute file names of the various programs so + ;; that everything works out-of-the-box. + (emacs-substitute-variables "ytdl.el" + ("ytdl-command" + (search-input-file inputs "/bin/yt-dlp")))))))) (inputs - (list youtube-dl)) + (list yt-dlp)) (propagated-inputs (list emacs-async emacs-dash)) (home-page "https://gitlab.com/tuedachu/ytdl") (synopsis "Emacs interface for youtube-dl") (description - "This package manages a video download queue for @command{youtube-dl}, + "This package manages a video download queue for @command{yt-dlp}, which serves as the back end. New videos can be queued at any time. All -youtube-dl backends are supported. It is possible to create download profiles +yt-dlp backends are supported. It is possible to create download profiles depending on the downloaded URL.") (license license:gpl3+)))) |
