pythonPackages.neovim: 0.2.0 -> 0.2.1
changed dependency msgpack-python to msgpack to make it build
This commit is contained in:
parent
41937749ce
commit
230b640ea6
41
pkgs/development/python-modules/neovim/default.nix
Normal file
41
pkgs/development/python-modules/neovim/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, lib
|
||||||
|
, nose
|
||||||
|
, msgpack
|
||||||
|
, greenlet
|
||||||
|
, trollius
|
||||||
|
, pythonOlder
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "neovim";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "16vzxmp7f6dl20n30j5cwwvrjj5h3c2ch8ldbss31anf36nirsdp";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Tests require pkgs.neovim,
|
||||||
|
# which we cannot add because of circular dependency.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ msgpack ]
|
||||||
|
++ lib.optional (!isPyPy) greenlet
|
||||||
|
++ lib.optional (pythonOlder "3.4") trollius;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Python client for Neovim";
|
||||||
|
homepage = "https://github.com/neovim/python-client";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ garbas ];
|
||||||
|
};
|
||||||
|
}
|
@ -20413,36 +20413,7 @@ EOF
|
|||||||
|
|
||||||
trollius = callPackage ../development/python-modules/trollius {};
|
trollius = callPackage ../development/python-modules/trollius {};
|
||||||
|
|
||||||
neovim = buildPythonPackage rec {
|
neovim = callPackage ../development/python-modules/neovim {};
|
||||||
version = "0.2.0";
|
|
||||||
name = "neovim-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/n/neovim/${name}.tar.gz";
|
|
||||||
sha256 = "1ywkgbrxd95cwlglihydmffcw2d2aji6562aqncymxs3ld5y02yn";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Tests require pkgs.neovim,
|
|
||||||
# which we cannot add because of circular dependency.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ msgpack-python ]
|
|
||||||
++ optional (!isPyPy) greenlet
|
|
||||||
++ optional (pythonOlder "3.4") trollius;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Python client for Neovim";
|
|
||||||
homepage = "https://github.com/neovim/python-client";
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ garbas ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
neovim_gui = buildPythonPackage rec {
|
neovim_gui = buildPythonPackage rec {
|
||||||
name = "neovim-pygui-${self.neovim.version}";
|
name = "neovim-pygui-${self.neovim.version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user