diff mbox series

[bug#58851] gnu: Add python-neovim-remote.

Message ID 9d3e8bde70c662e08f4af3cf41f29dbae38d30ae.1667007347.git.me@gyara.moe
State New
Headers show
Series [bug#58851] gnu: Add python-neovim-remote. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue

Commit Message

ギャラ Oct. 29, 2022, 1:35 a.m. UTC
* gnu/packages/vim.scm (python-neovim-remote): New variable.
---
 gnu/packages/vim.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Comments

Christopher Baines Nov. 5, 2022, 10:54 a.m. UTC | #1
ギャラ via Guix-patches via <guix-patches@gnu.org> writes:

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

Looks good to me, I've pushed this to master as
8139322b8adf4d51badb598b123de600b2ab1682.

Thanks,

Chris
diff mbox series

Patch

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")