Skip to content

Commit

Permalink
Merge pull request #22417 from edanaher/move-neovim-remote
Browse files Browse the repository at this point in the history
neovim-remote: move from python-packages to /neovim/neovim-remote.
  • Loading branch information
FRidh committed Feb 10, 2017
2 parents 1c998e0 + ee4f732 commit c9f4d71
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Expand Up @@ -140,6 +140,7 @@
dtzWill = "Will Dietz <nix@wdtz.org>";
e-user = "Alexander Kahl <nixos@sodosopa.io>";
ebzzry = "Rommel Martinez <ebzzry@gmail.com>";
edanaher = "Evan Danaher <nixos@edanaher.net>";
ederoyd46 = "Matthew Brown <matt@ederoyd.co.uk>";
eduarrrd = "Eduard Bachmakov <e.bachmakov@gmail.com>";
edwtjo = "Edward Tjörnhammar <ed@cflags.cc>";
Expand Down
26 changes: 26 additions & 0 deletions pkgs/applications/editors/neovim/neovim-remote.nix
@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, pythonPackages }:

with stdenv.lib;

pythonPackages.buildPythonPackage rec {
name = "neovim-remote-${version}";
version = "v1.4.0";
disabled = !pythonPackages.isPy3k;

src = fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = version;
sha256 = "0msvfh27f56xj5ki59ikzavxz863nal5scm57n43618m49qzg8iz";
};

propagatedBuildInputs = [ pythonPackages.neovim ];

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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -15408,6 +15408,8 @@ with pkgs;

neovim-pygui = pythonPackages.neovim_gui;

neovim-remote = callPackage ../applications/editors/neovim/neovim-remote.nix { pythonPackages = python3Packages; };

vis = callPackage ../applications/editors/vis {
inherit (lua52Packages) lpeg;
};
Expand Down
17 changes: 0 additions & 17 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -30001,23 +30001,6 @@ EOF
'';
};

neovim-remote = buildPythonPackage rec {
name = "neovim-remote-${version}";
version = "v1.4.0";
disabled = !isPy3k;

src = pkgs.fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = version;
sha256 = "0msvfh27f56xj5ki59ikzavxz863nal5scm57n43618m49qzg8iz";
};

propagatedBuildInputs = [
self.neovim
];
};

ghp-import = buildPythonPackage rec {
version = "0.4.1";
name = "ghp-import-${version}";
Expand Down

0 comments on commit c9f4d71

Please sign in to comment.