1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 pytest, 7 tappy, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-tap"; 13 version = "3.3"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "python-tap"; 20 repo = "pytest-tap"; 21 rev = "v${version}"; 22 sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4="; 23 }; 24 25 buildInputs = [ pytest ]; 26 27 propagatedBuildInputs = [ tappy ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 disabledTests = [ 32 # Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release 33 "test_unittest_expected_failure" 34 ]; 35 36 pythonImportsCheck = [ "pytest_tap" ]; 37 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 }; 45}