python310Packages.devpi-common: don't depend on pytest-flake8

This commit is contained in:
Robert Schütz
2022-12-10 13:56:00 -08:00
committed by Robert Schütz
parent a0b2da3116
commit 02d780efe5
@@ -1,8 +1,7 @@
{ lib, buildPythonPackage, fetchPypi
, requests
, py
, pytest
, pytest-flake8
, pytestCheckHook
, lazy
}:
@@ -15,16 +14,20 @@ buildPythonPackage rec {
sha256 = "sha256-O015TOlvFcN7hxwV4SgGmo6vanMuWb+i9KZOYhYZLJM=";
};
postPatch = ''
substituteInPlace tox.ini \
--replace "--flake8" ""
'';
propagatedBuildInputs = [
requests
py
lazy
];
checkInputs = [ pytest pytest-flake8 ];
checkPhase = ''
py.test
'';
checkInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/devpi/devpi";