Message ID | 20221103181459.15225-1-jgart@dismail.de |
---|---|
State | New |
Headers | show |
Series | [bug#59000,v2,1/2] gnu: Add emacs-mpv. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git-branch | success | View Git branch |
cbaines/applying patch | success | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
cbaines/applying patch | fail | |
cbaines/issue | success | View issue |
Hello, jgart via Guix-patches via <guix-patches@gnu.org> writes: > * gnu/packages/emacs-xyz.scm (emacs-mpv): New variable. Thank you. Applied, with the following changes. > + (package > + (name "emacs-mpv") > + (version (git-version "0.0.0" revision commit)) Base version is actually 0.2.0. > + #~(modify-phases %standard-phases > + (add-after 'set-mpv-el-version 'patch-exec-paths > + (lambda* (#:key inputs #:allow-other-keys) > + (make-file-writable "mpv.el") `make-file-writable' is not necessary. > + (emacs-substitute-variables "mpv.el" > + ("mpv-executable" > + (search-input-file inputs "/bin/mpv")))))))) > + (synopsis "Control mpv for easy note taking") > + (description > +"This package is a potpourri of helper functions to control a @code{mpv} > +process via its IPC interface.") mpv -> MPV Regards,
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8478a47591..c2942c5b79 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -33700,6 +33700,42 @@ (define-public emacs-flymake-mypy using mypy.") (license license:bsd-2)))) +(define-public emacs-mpv + ;; No release since Dec 28, 2021. + (let ((commit "2e0234bc21a3dcdf12d94d3285475e7f6769d3e8") + (revision "0")) + (package + (name "emacs-mpv") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kljohann/mpv.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mvzg2wqpycny2dmiyp8jm0fflvll7ay6scvsb9rxgfwimr2vbw5")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #f ; There are no tests. + #:phases + #~(modify-phases %standard-phases + (add-after 'set-mpv-el-version 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "mpv.el") + (emacs-substitute-variables "mpv.el" + ("mpv-executable" + (search-input-file inputs "/bin/mpv")))))))) + (inputs (list mpv)) + (home-page "https://github.com/kljohann/mpv.el/") + (synopsis "Control mpv for easy note taking") + (description +"This package is a potpourri of helper functions to control a @code{mpv} +process via its IPC interface.") + (license license:gpl3+)))) + (define-public emacs-project-x ;; There is no proper release. ;; The base version is extracted from the README.org.