From e31ad37f109b0786bb7981723aebadb136a31b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 27 Nov 2022 19:21:43 -0800 Subject: [PATCH] devpi-server: don't depend on pytest-flake8 --- pkgs/development/tools/devpi-server/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ];