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