[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/42: gnu: emacs-yeetube: Use executables from inputs.
From: |
guix-commits |
Subject: |
41/42: gnu: emacs-yeetube: Use executables from inputs. |
Date: |
Tue, 3 Oct 2023 16:54:53 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 761cc5ae232120e944f6afb9b91ee26e2205a969
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Oct 3 22:00:02 2023 +0200
gnu: emacs-yeetube: Use executables from inputs.
* gnu/packages/emacs-xyz.scm (emacs-yeetube)[arguments]: Set locations for
"mpv" and "yt-dlp" executables from the store instead of relying on
`executable-find'.
---
gnu/packages/emacs-xyz.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 418c14751f..0676b4c01f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27932,6 +27932,18 @@ and comments.")
"175yz46gql27y2v02apa1zyzgparzpgrsmw1mbb1nlx0cnf7an79"))
(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-yt-dlp"
+ (search-input-file inputs "/bin/yt-dlp")))
+ (substitute* "yeetube-mpv.el"
+ (("\\(executable-find \"mpv\"\\)")
+ (search-input-file inputs "/bin/mpv"))))))))
(inputs
(list mpv yt-dlp))
(home-page "https://thanosapollo.com/blog/yeetube/")
- 14/42: gnu: emacs-datetime: Update to 0.9.1., (continued)
- 14/42: gnu: emacs-datetime: Update to 0.9.1., guix-commits, 2023/10/03
- 39/42: gnu: emacs-yaml: Update to 0.5.4., guix-commits, 2023/10/03
- 19/42: gnu: emacs-embark: Update to 0.23., guix-commits, 2023/10/03
- 22/42: gnu: emacs-fountain-mode: Update to 3.6.3., guix-commits, 2023/10/03
- 34/42: gnu: emacs-org-super-agenda: Use G-expressions., guix-commits, 2023/10/03
- 35/42: gnu: emacs-parseedn: Update to 1.2.0., guix-commits, 2023/10/03
- 38/42: gnu: emacs-web-mode: Update to 17.3.13., guix-commits, 2023/10/03
- 29/42: gnu: emacs-modus-themes: Update to 4.3.0., guix-commits, 2023/10/03
- 40/42: gnu: emacs-yeetube: Update to 2.0.4., guix-commits, 2023/10/03
- 30/42: gnu: emacs-org-ql: Update to 0.7.2., guix-commits, 2023/10/03
- 41/42: gnu: emacs-yeetube: Use executables from inputs.,
guix-commits <=
- 42/42: gnu: emacs-yeetube: Improve package style., guix-commits, 2023/10/03