f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
52 lines
1 KiB
Nix
52 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
pytablewriter,
|
|
pytest,
|
|
tcolorpy,
|
|
typepy,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-md-report";
|
|
version = "0.6.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "pytest_md_report";
|
|
inherit version;
|
|
hash = "sha256-XpbGVevJtcPHt4v3xTgsH2gFbpaQRDAlJ5D4c33lzpk=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pytablewriter
|
|
tcolorpy
|
|
typepy
|
|
];
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pytest_md_report" ];
|
|
|
|
meta = with lib; {
|
|
description = "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 ];
|
|
};
|
|
}
|