about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix')
-rw-r--r--nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix b/nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix
new file mode 100644
index 000000000000..867e22751284
--- /dev/null
+++ b/nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix
@@ -0,0 +1,30 @@
+{ lib, fetchFromGitHub, pythonPackages }:
+
+with lib;
+
+pythonPackages.buildPythonApplication rec {
+  pname = "neovim-remote";
+  version = "2.4.0";
+  disabled = !pythonPackages.isPy3k;
+
+  src = fetchFromGitHub {
+    owner = "mhinz";
+    repo = "neovim-remote";
+    rev = "v${version}";
+    sha256 = "0jlw0qksak4bdzddpsj74pm2f2bgpj3cwrlspdjjy0j9qzg0mpl9";
+  };
+
+  propagatedBuildInputs = with pythonPackages; [
+    pynvim
+    psutil
+    setuptools
+  ];
+
+  meta = {
+    description = "A tool that helps controlling nvim processes from a terminal";
+    homepage = "https://github.com/mhinz/neovim-remote/";
+    license = licenses.mit;
+    maintainers = with maintainers; [ edanaher ];
+    platforms = platforms.unix;
+  };
+}