gnu: emacs-empv: Add inputs.

* gnu/packages/emacs-xyz.scm (emacs-empv)[arguments]: Add a phase to set
default binaries for FD and MPV.
[inputs]: Add FD and MPV.
[propagated-inputs]: Add EMACS-CONSULT.

Change-Id: I0e627d3b3ec3e5515ff7da9cd601713840e2a9c7
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
gemmaro 2024-07-09 20:46:23 +09:00 committed by Nicolas Goaziou
parent 9f2d639ae8
commit c6f4757ed2
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -3766,7 +3766,16 @@ Selectrum.")
(base32
"06dphwj9vi39dbpif3kzp6azs80klh13s9l22a6ddz91kmds2myy"))))
(build-system emacs-build-system)
(propagated-inputs (list emacs-compat emacs-s))
(arguments
(list
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'set-default-binaries
(lambda* (#:key inputs #:allow-other-keys)
(emacs-substitute-variables "empv.el"
("empv-fd-binary" (search-input-file inputs "/bin/fd"))
("empv-mpv-binary" (search-input-file inputs "/bin/mpv"))))))))
(inputs (list fd mpv))
(propagated-inputs (list emacs-compat emacs-consult emacs-s))
(home-page "https://github.com/isamert/empv.el")
(synopsis
"Emacs multimedia player, media library manager, YouTube frontend")