depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-md-report/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
934 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytablewriter,
pytest,
tcolorpy,
typepy,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pytest-md-report";
version = "0.5.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-WzPspBVcrtcDqZI+PuAttfI7YBKC5DW5IM+Y7iUdQFI=";
};
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 ];
};
}