Archived
1
0
Fork 0

gnu: emacs-ytdl: Update to 1.3.6-0.2ea3daf2.

* gnu/packages/emacs-xyz.scm (emacs-ytdl): Update to 1.3.6-0.2ea3daf2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Miguel Ángel Moreno 2023-06-06 11:26:41 +02:00 committed by Nicolas Goaziou
parent c6d494e49f
commit ec66bd267f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -26988,43 +26988,45 @@ can be queued at any time.")
(license license:unlicense)))) (license license:unlicense))))
(define-public emacs-ytdl (define-public emacs-ytdl
(package (let ((commit "2ea3daf2f6aa9d18b71fe3e15f05c30a56fca228")
(name "emacs-ytdl") (revision "0"))
(version "1.3.6") (package
(source (name "emacs-ytdl")
(origin (version (git-version "1.3.6" revision commit))
(method git-fetch) (source
(uri (git-reference (origin
(url "https://gitlab.com/tuedachu/ytdl") (method git-fetch)
(commit version))) (uri (git-reference
(file-name (git-file-name name version)) (url "https://gitlab.com/tuedachu/ytdl")
(sha256 (commit commit)))
(base32 "010arhvibyw50lqhsr8bm0vj3pzry1h1vgcvxnmyryirk3dv40jl")))) (file-name (git-file-name name version))
(build-system emacs-build-system) (sha256
(arguments (base32 "0y62lkgsg19j05dpd6sp6zify8vq8xvpc8caqiy4rwi7p4ahacsf"))))
`(#:phases (build-system emacs-build-system)
(modify-phases %standard-phases (arguments
(add-after 'unpack 'configure `(#:phases
(lambda* (#:key inputs #:allow-other-keys) (modify-phases %standard-phases
;; .el is read-only in git. (add-after 'unpack 'configure
(make-file-writable "ytdl.el") (lambda* (#:key inputs #:allow-other-keys)
;; Specify the absolute file names of the various programs so ;; .el is read-only in git.
;; that everything works out-of-the-box. (make-file-writable "ytdl.el")
(emacs-substitute-variables "ytdl.el" ;; Specify the absolute file names of the various programs so
("ytdl-command" ;; that everything works out-of-the-box.
(search-input-file inputs "/bin/youtube-dl")))))))) (emacs-substitute-variables "ytdl.el"
(inputs ("ytdl-command"
(list youtube-dl)) (search-input-file inputs "/bin/youtube-dl"))))))))
(propagated-inputs (inputs
(list emacs-async emacs-dash)) (list youtube-dl))
(home-page "https://gitlab.com/tuedachu/ytdl") (propagated-inputs
(synopsis "Emacs interface for youtube-dl") (list emacs-async emacs-dash))
(description (home-page "https://gitlab.com/tuedachu/ytdl")
"This package manages a video download queue for @command{youtube-dl}, (synopsis "Emacs interface for youtube-dl")
(description
"This package manages a video download queue for @command{youtube-dl},
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 youtube-dl 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+))))
(define-public emacs-ytel (define-public emacs-ytel
;; No tagged releases. Using version from main file. ;; No tagged releases. Using version from main file.