2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-07-27 06:49:29 +00:00
|
|
|
setuptools,
|
|
|
|
setuptools-scm,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytablewriter,
|
|
|
|
pytest,
|
|
|
|
tcolorpy,
|
|
|
|
typepy,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2023-03-04 12:14:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-md-report";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.6.2";
|
|
|
|
pyproject = true;
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-07-27 06:49:29 +00:00
|
|
|
pname = "pytest_md_report";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-XpbGVevJtcPHt4v3xTgsH2gFbpaQRDAlJ5D4c33lzpk=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytablewriter
|
|
|
|
tcolorpy
|
|
|
|
typepy
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pytest_md_report" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Pytest plugin to make a test results report with Markdown table format";
|
2023-03-04 12:14:45 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|