diff --git a/pkgs/development/python-modules/seabreeze/default.nix b/pkgs/development/python-modules/seabreeze/default.nix index 06802a8a2ce..6f048144dfa 100644 --- a/pkgs/development/python-modules/seabreeze/default.nix +++ b/pkgs/development/python-modules/seabreeze/default.nix @@ -4,7 +4,6 @@ , cython , git , pkgconfig -, pytest-runner , setuptools-scm , future , numpy @@ -31,11 +30,15 @@ buildPythonPackage rec { leaveDotGit = true; }; + postPatch = '' + substituteInPlace setup.py \ + --replace '"pytest-runner",' "" + ''; + nativeBuildInputs = [ cython git pkgconfig - pytest-runner setuptools-scm ];