diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-12-31 13:44:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-31 13:44:46 +0100 |
commit | 517ff272eed82b22e3621b7e9a0b9367fb6adf35 (patch) | |
tree | 66d9037d71011619776d42c737833194a53b41ed | |
parent | 9295cc28c9c38430b14894f3912d70d3aecdf84a (diff) | |
download | nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.tar nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.tar.gz nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.tar.bz2 nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.tar.lz nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.tar.xz nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.tar.zst nixpkgs-517ff272eed82b22e3621b7e9a0b9367fb6adf35.zip |
python3Packages.pytest-tap: add pythonImportsCheck
-rw-r--r-- | pkgs/development/python-modules/pytest-tap/default.nix | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pytest-tap/default.nix b/pkgs/development/python-modules/pytest-tap/default.nix index 10830fdec69..8b935c4f91f 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"; |