biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pytest-tap / default.nix
blob91513ca894e278742292afb3a74fa48bb0a9e0c8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytest,
7   tappy,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-tap";
13   version = "3.3";
14   format = "setuptools";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "python-tap";
20     repo = "pytest-tap";
21     rev = "v${version}";
22     sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4=";
23   };
25   buildInputs = [ pytest ];
27   propagatedBuildInputs = [ tappy ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   disabledTests = [
32     # Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release
33     "test_unittest_expected_failure"
34   ];
36   pythonImportsCheck = [ "pytest_tap" ];
38   meta = with lib; {
39     description = "Test Anything Protocol (TAP) reporting plugin for pytest";
40     homepage = "https://github.com/python-tap/pytest-tap";
41     changelog = "https://github.com/python-tap/pytest-tap/blob/v${version}/docs/releases.rst";
42     license = licenses.bsd2;
43     maintainers = with maintainers; [ cynerd ];
44   };