summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorギャラ <me@gyara.moe>2022-10-29 10:35:48 +0900
committerChristopher Baines <mail@cbaines.net>2022-11-05 11:40:06 +0100
commit8139322b8adf4d51badb598b123de600b2ab1682 (patch)
treea0451ce9e7d61b1e36d7a08ae6acbbe730dd0051 /gnu
parentf56aae998cf4d90660e3c758c934990ec30c4776 (diff)
downloadguix-8139322b8adf4d51badb598b123de600b2ab1682.tar.gz
gnu: Add python-neovim-remote.
* gnu/packages/vim.scm (python-neovim-remote): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/vim.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a03a432d61..c35b74eec2 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -40,6 +40,7 @@
   #: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
@@ -926,6 +927,25 @@ also works as a library for connecting to and scripting neovim processes
 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")