python310Packages.marshmallow-enum: don't use pytest-flake8

This commit is contained in:
Robert Schütz 2022-08-11 12:54:15 +00:00 committed by Robert Schütz
parent 12163dff9f
commit a1bc7b4dbe

View File

@ -5,7 +5,6 @@
, pytestCheckHook
, isPy27
, enum34
, pytest-flake8
}:
buildPythonPackage rec {
@ -19,13 +18,16 @@ buildPythonPackage rec {
sha256 = "1ihrcmyfjabivg6hc44i59hnw5ijlg1byv3zs1rqxfynp8xr7398";
};
postPatch = ''
sed -i '/addopts/d' tox.ini
'';
propagatedBuildInputs = [
marshmallow
] ++ lib.optionals isPy27 [ enum34 ];
checkInputs = [
pytestCheckHook
pytest-flake8
];
disabledTests = [