1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytest 6, tappy 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-tap"; 12 version = "3.3"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "python-tap"; 19 repo = "pytest-tap"; 20 rev = "v${version}"; 21 sha256 = "R0RSdKTyJYGq+x0+ut4pJEywTGNgGp/ps36ZaH5dyY4="; 22 }; 23 24 buildInputs = [ 25 pytest 26 ]; 27 28 propagatedBuildInputs = [ 29 tappy 30 ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 ]; 35 36 disabledTests = [ 37 # Fixed in 4ed0138bf659c348b6dfb8bb701ae1989625d3d8 and hopefully in next release 38 "test_unittest_expected_failure" 39 ]; 40 41 pythonImportsCheck = [ 42 "pytest_tap" 43 ]; 44 45 meta = with lib; { 46 description = "Test Anything Protocol (TAP) reporting plugin for pytest"; 47 homepage = "https://github.com/python-tap/pytest-tap"; 48 changelog = "https://github.com/python-tap/pytest-tap/blob/v${version}/docs/releases.rst"; 49 license = licenses.bsd2; 50 maintainers = with maintainers; [ cynerd ]; 51 }; 52}