mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
gnu: Add emacs-ytel.
* gnu/packages/emacs-xyz.scm (emacs-ytel): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
0b73c5b89a
commit
855805aade
1 changed files with 36 additions and 0 deletions
|
@ -21255,6 +21255,42 @@ (define-public emacs-ytdl
|
||||||
depending on the downloaded URL.")
|
depending on the downloaded URL.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public emacs-ytel
|
||||||
|
;; No tagged releases. Using version from main file.
|
||||||
|
(let ((commit "d40bc7ead8d4d7e4d16b03b66a93d63bef51cc5f")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "emacs-ytel")
|
||||||
|
(version (git-version "0.1.0" revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/grastello/ytel")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0pxzfsxzrpv59dssrgx2mmwkm6rzk49ffjkgsa3wks7rdyfil3kf"))))
|
||||||
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-exec-paths
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((curl (assoc-ref inputs "curl")))
|
||||||
|
(substitute* "ytel.el"
|
||||||
|
(("\"curl\"") (string-append "\"" curl "/bin/curl\"")))))))))
|
||||||
|
(inputs
|
||||||
|
`(("curl" ,curl)))
|
||||||
|
(home-page "https://github.com/grastello/ytel")
|
||||||
|
(synopsis "Youtube front-end for Emacs")
|
||||||
|
(description
|
||||||
|
"This package provides a major mode to search YouTube videos via an
|
||||||
|
Elfeed-like buffer. Information about videos displayed in this buffer can be
|
||||||
|
extracted and manipulated by user-defined functions to do various things such
|
||||||
|
as playing them in some video player, or downloading them.")
|
||||||
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-org-web-tools
|
(define-public emacs-org-web-tools
|
||||||
(package
|
(package
|
||||||
(name "emacs-org-web-tools")
|
(name "emacs-org-web-tools")
|
||||||
|
|
Loading…
Reference in a new issue