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>
This commit is contained in:
Nicolas Graves 2025-08-12 14:41:38 +02:00 committed by Sharlatan Hellseher
parent c383446efd
commit ab6100a59d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -32826,8 +32826,9 @@ can be queued at any time.")
(base32 "0y62lkgsg19j05dpd6sp6zify8vq8xvpc8caqiy4rwi7p4ahacsf")))) (base32 "0y62lkgsg19j05dpd6sp6zify8vq8xvpc8caqiy4rwi7p4ahacsf"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure (add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; .el is read-only in git. ;; .el is read-only in git.
@ -32836,17 +32837,17 @@ can be queued at any time.")
;; that everything works out-of-the-box. ;; that everything works out-of-the-box.
(emacs-substitute-variables "ytdl.el" (emacs-substitute-variables "ytdl.el"
("ytdl-command" ("ytdl-command"
(search-input-file inputs "/bin/youtube-dl")))))))) (search-input-file inputs "/bin/yt-dlp"))))))))
(inputs (inputs
(list youtube-dl)) (list yt-dlp))
(propagated-inputs (propagated-inputs
(list emacs-async emacs-dash)) (list emacs-async emacs-dash))
(home-page "https://gitlab.com/tuedachu/ytdl") (home-page "https://gitlab.com/tuedachu/ytdl")
(synopsis "Emacs interface for youtube-dl") (synopsis "Emacs interface for youtube-dl")
(description (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 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.") depending on the downloaded URL.")
(license license:gpl3+)))) (license license:gpl3+))))