Subject: [PATCH] gnu: Add python-neovim-remote.
From: ギャラ <[email-masked]>
To: [email-masked]
Cc: ギャラ <[email-masked]>
Date: Sat, 29 Oct 2022 10:35:48 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/vim.scm (python-neovim-remote): New variable.
---
 gnu/packages/vim.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index ed24c39be2..20ca44e9cb 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -40,6 +40,7 @@ (define-module (gnu packages vim)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (gnu packages)
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin) ; For GNU hostname
@@ -924,6 +925,25 @@ (define-public python-pynvim
 through its msgpack-rpc API.")
     (license license:asl2.0)))
 
+(define-public python-neovim-remote
+  (package
+    (name "python-neovim-remote")
+    (version "2.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "neovim-remote" version))
+              (sha256
+               (base32
+                "00kxlb3f1k7iaxzpsr07scavmnyg8c1jmicmr13mfk2lcdac6g2b"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-psutil python-pynvim))
+    (home-page "https://github.com/mhinz/neovim-remote")
+    (synopsis "Control nvim processes using `nvr` commandline tool")
+    (description "This package provide a `nvr` command, which can open File
+in remote nvim.  Also allow opening files from within :terminal without
+starting a nested nvim process.")
+    (license license:expat)))
+
 (define-public vim-guix-vim
   (package
     (name "vim-guix-vim")
-- 
2.38.0