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