[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/32: gnu: emacs-yeetube: Update to 2.1.4.
From: |
guix-commits |
Subject: |
32/32: gnu: emacs-yeetube: Update to 2.1.4. |
Date: |
Sun, 17 Mar 2024 18:51:43 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit bb274ab5aac6e56b07b61c5be3301ae4356a603b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 17 23:49:11 2024 +0100
gnu: emacs-yeetube: Update to 2.1.4.
* gnu/packages/emacs-xyz.scm (emacs-yeetube): Update to 2.1.4.
[arguments]<#:phases>: Properly locate binaries.
[inputs]: Add WGET.
Change-Id: Ib72584b2ef1da5fe8b469bf3fb4c3a4efdfdb7a0
---
gnu/packages/emacs-xyz.scm | 80 ++++++++++++++++++++++++----------------------
1 file changed, 41 insertions(+), 39 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3a44634ae2..e6cb930bc9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28694,49 +28694,51 @@ and comments.")
(license license:gpl3+))))
(define-public emacs-yeetube
- (package
- (name "emacs-yeetube")
- (version "2.1.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.thanosapollo.org/yeetube")
- (commit version)))
- (sha256
- (base32
- "0c2iq6rb179zh9qbw7prxsjbiz77j060pj75s82wbbz5xjavzgp5"))
- (file-name (git-file-name name version))))
- (build-system emacs-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'locate-binaries
- (lambda* (#:key inputs #:allow-other-keys)
- (emacs-substitute-variables "yeetube.el"
- ("yeetube-ytdlp"
- (search-input-file inputs "/bin/yt-dlp")))
- (emacs-substitute-variables "yeetube-mpv.el"
- ("yeetube-mpv-path"
- (search-input-file inputs "/bin/mpv"))
- ("yeetube-mpv-torsocks"
- (search-input-file inputs "/bin/torsocks")))))
- (add-after 'unpack 'relax-check
- (lambda _
- (substitute* "yeetube-mpv.el"
- (("\\(yeetube-mpv-check\\)") "")))))))
- (inputs (list mpv torsocks yt-dlp))
- (propagated-inputs (list emacs-compat))
- (home-page "https://thanosapollo.com/blog/yeetube/")
- (synopsis "Youtube and Invidious front-end for Emacs")
- (description
- "This package offers an Emacs interface that allows you to search YouTube
+ (let ((commit "c74e4e77156297624d278a05bdd19c016a91ff9b")) ;version bump
+ (package
+ (name "emacs-yeetube")
+ (version "2.1.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.thanosapollo.org/yeetube")
+ (commit commit)))
+ (sha256
+ (base32
+ "1gpfm41d4wzk1i0hnmfn81xv05ida9ljibar7ji4d7nisjbd4vp9"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'locate-binaries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (find-files "." "\\.el$")
+ (("\\(executable-find \"mpv\"\\)")
+ (format #f "~s"
+ (search-input-file inputs "/bin/mpv")))
+ (("\\(executable-find \"torsocks\"\\)")
+ (format #f "~s"
+ (search-input-file inputs "/bin/torsocks")))
+ (("\\(executable-find \"wget\"\\)")
+ (format #f "~s"
+ (search-input-file inputs "/bin/wget")))
+ (("\\(executable-find \"yt-dlp\"\\)")
+ (format #f "~s"
+ (search-input-file inputs "/bin/yt-dlp")))))))))
+ (inputs (list mpv torsocks wget yt-dlp))
+ (propagated-inputs (list emacs-compat))
+ (home-page "https://thanosapollo.com/blog/yeetube/")
+ (synopsis "Youtube and Invidious front-end for Emacs")
+ (description
+ "This package offers an Emacs interface that allows you to search
YouTube
or an Invidious instance for a specific query. The search results are shown
as links in an Org mode buffer. The videos can be opened to a user-defined
video player (by default @command{mpv}) or downloaded using @command{yt-dlp}.
This package also includes a @code{yt-dlp} front-end.")
- (license license:gpl3+)))
+ (license license:gpl3+))))
(define-public emacs-org-web-tools
(package
- 14/32: gnu: emacs-fountain-mode: Update to 3.7.2., (continued)
- 14/32: gnu: emacs-fountain-mode: Update to 3.7.2., guix-commits, 2024/03/17
- 20/32: gnu: emacs-mastodon: Update to 1.0.18., guix-commits, 2024/03/17
- 28/32: gnu: emacs-prescient: Update to 6.3., guix-commits, 2024/03/17
- 30/32: gnu: emacs-tablist: Update to 1.1., guix-commits, 2024/03/17
- 10/32: gnu: emacs-ebuild-mode: Update to 1.70., guix-commits, 2024/03/17
- 19/32: gnu: emacs-key-chord: Update to 0.7., guix-commits, 2024/03/17
- 24/32: gnu: emacs-org: Update to 9.6.21., guix-commits, 2024/03/17
- 25/32: gnu: emacs-org-ql: Update to 0.8.5., guix-commits, 2024/03/17
- 31/32: gnu: emacs-visual-fill-column: Update to 2.6.2., guix-commits, 2024/03/17
- 27/32: gnu: emacs-pg: Update to 0.30., guix-commits, 2024/03/17
- 32/32: gnu: emacs-yeetube: Update to 2.1.4.,
guix-commits <=
- 13/32: gnu: emacs-eshell-up: Update to 0.0.4., guix-commits, 2024/03/17
- 18/32: gnu: emacs-json-mode: Update to 1.9.1., guix-commits, 2024/03/17
- 21/32: gnu: emacs-mini-echo: Update to 0.8.0., guix-commits, 2024/03/17
- 22/32: gnu: emacs-modus-themes: Update to 4.4.0., guix-commits, 2024/03/17
- 26/32: gnu: emacs-ox-tufte: Update to 4.1.1., guix-commits, 2024/03/17
- 29/32: gnu: emacs-robe: Update to 0.8.4., guix-commits, 2024/03/17