diff --git a/pkgs/development/python-modules/pytest-tap/default.nix b/pkgs/development/python-modules/pytest-tap/default.nix index 10830fdec690..8b935c4f91f0 100644 --- a/pkgs/development/python-modules/pytest-tap/default.nix +++ b/pkgs/development/python-modules/pytest-tap/default.nix @@ -10,6 +10,8 @@ buildPythonPackage rec { pname = "pytest-tap"; version = "3.3"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { @@ -19,15 +21,27 @@ buildPythonPackage rec { sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4="; }; - buildInputs = [ pytest ]; - propagatedBuildInputs = [ tappy ]; + buildInputs = [ + pytest + ]; + + propagatedBuildInputs = [ + tappy + ]; + + checkInputs = [ + pytestCheckHook + ]; - checkInputs = [ pytestCheckHook ]; disabledTests = [ # Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release "test_unittest_expected_failure" ]; + pythonImportsCheck = + "pytest_tap" + ]; + meta = with lib; { description = "Test Anything Protocol (TAP) reporting plugin for pytest"; homepage = "https://github.com/python-tap/pytest-tap";