diff --git a/pkgs/development/python-modules/pytest-instafail/default.nix b/pkgs/development/python-modules/pytest-instafail/default.nix index 256c3c582a29..3b237105d4c0 100644 --- a/pkgs/development/python-modules/pytest-instafail/default.nix +++ b/pkgs/development/python-modules/pytest-instafail/default.nix @@ -3,11 +3,15 @@ , fetchPypi , pytest , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "pytest-instafail"; version = "0.5.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version;