diff --git a/pkgs/development/python-modules/marshmallow-enum/default.nix b/pkgs/development/python-modules/marshmallow-enum/default.nix index 16af840b036b..a7852afb7082 100644 --- a/pkgs/development/python-modules/marshmallow-enum/default.nix +++ b/pkgs/development/python-modules/marshmallow-enum/default.nix @@ -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 = [