diff --git a/pkgs/development/python-modules/pynvim/default.nix b/pkgs/development/python-modules/pynvim/default.nix index e5e14f44e109..a4765434f74e 100644 --- a/pkgs/development/python-modules/pynvim/default.nix +++ b/pkgs/development/python-modules/pynvim/default.nix @@ -7,22 +7,21 @@ , trollius , pythonOlder , isPyPy +, pytestrunner }: buildPythonPackage rec { pname = "pynvim"; - version = "0.3.2"; + version = "0.4.0"; src = fetchPypi { inherit pname version; - sha256 = "01dybk4vs452pljn1q3il5z2sd313ki0lgiglc0xmjc6wp290r6g"; + sha256 = "1mp9ajsgrb9k2f3s8g7vdflj5mg02ii0d0wk4n6dmvjx52rqpzbi"; }; - checkInputs = [ nose ]; - - checkPhase = '' - nosetests - ''; + nativeBuildInputs = [ + pytestrunner + ]; # Tests require pkgs.neovim, # which we cannot add because of circular dependency.