depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-md-report/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

43 lines
925 B
Nix

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