depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-md-report/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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 ];
};
}