2023-03-04 12:14:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytablewriter
|
|
|
|
, pytest
|
|
|
|
, tcolorpy
|
|
|
|
, typepy
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-md-report";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.5.1";
|
2023-03-04 12:14:45 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-WzPspBVcrtcDqZI+PuAttfI7YBKC5DW5IM+Y7iUdQFI=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytablewriter
|
|
|
|
tcolorpy
|
|
|
|
typepy
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pytest_md_report" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pytest plugin to make a test results report with Markdown table format";
|
|
|
|
homepage = "https://github.com/thombashi/pytest-md-report";
|
|
|
|
changelog = "https://github.com/thombashi/pytest-md-report/releases/tag/v${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rrbutani ];
|
|
|
|
};
|
|
|
|
}
|