1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytablewriter, 6 pytest, 7 tcolorpy, 8 typepy, 9 pytestCheckHook, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "pytest-md-report"; 15 version = "0.5.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-WzPspBVcrtcDqZI+PuAttfI7YBKC5DW5IM+Y7iUdQFI="; 23 }; 24 25 propagatedBuildInputs = [ 26 pytablewriter 27 tcolorpy 28 typepy 29 ]; 30 31 buildInputs = [ pytest ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "pytest_md_report" ]; 36 37 meta = with lib; { 38 description = "A pytest plugin to make a test results report with Markdown table format"; 39 homepage = "https://github.com/thombashi/pytest-md-report"; 40 changelog = "https://github.com/thombashi/pytest-md-report/releases/tag/v${version}"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ rrbutani ]; 43 }; 44}