Subject: [bug#59000] [PATCH v2 1/2] gnu: Add emacs-mpv.

From: Nicolas Goaziou <[email-masked]>
Date: Sun, 06 Nov 2022 15:13:17 +0100

Hello,

jgart via Guix-patches via <[email-masked]> 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,
-- 
Nicolas Goaziou