diff --git a/pkgs/development/tools/devpi-server/default.nix b/pkgs/development/tools/devpi-server/default.nix index 9d3d1b71aa9d..e774b554dc06 100644 --- a/pkgs/development/tools/devpi-server/default.nix +++ b/pkgs/development/tools/devpi-server/default.nix @@ -12,7 +12,6 @@ , platformdirs , pluggy , pyramid -, pytest-flake8 , pytestCheckHook , repoze_lru , setuptools @@ -37,6 +36,11 @@ buildPythonApplication rec { sourceRoot = "source/server"; + postPatch = '' + substituteInPlace tox.ini \ + --replace "--flake8" "" + ''; + propagatedBuildInputs = [ aiohttp appdirs @@ -58,7 +62,6 @@ buildPythonApplication rec { checkInputs = [ beautifulsoup4 nginx - pytest-flake8 pytestCheckHook webtest ];