Merge pull request #218706 from rrbutani/add/pytest-md-report

python3Packages.pytest-md-report: init at 0.3.0
This commit is contained in:
Fabian Affolter 2023-03-04 00:28:05 +01:00 committed by GitHub
commit cb0247df56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View file

@ -12899,6 +12899,7 @@
email = "rrbutani+nix@gmail.com";
github = "rrbutani";
githubId = 7833358;
matrix = "@rbutani:matrix.org";
keys = [{
fingerprint = "7DCA 5615 8AB2 621F 2F32 9FF4 1C7C E491 479F A273";
}];

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytablewriter
, pytest
, tcolorpy
, typepy
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-md-report";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ra88WXG6+xHSjOcy6tdYjvpKpNlvu6lq+sZckLadAlU=";
};
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 ];
};
}

View file

@ -9156,7 +9156,9 @@ self: super: with self; {
pytest-localserver = callPackage ../development/python-modules/pytest-localserver { };
pytest-logdog = callPackage ../development/python-modules/pytest-logdog{ };
pytest-logdog = callPackage ../development/python-modules/pytest-logdog { };
pytest-md-report = callPackage ../development/python-modules/pytest-md-report { };
pytest-metadata = callPackage ../development/python-modules/pytest-metadata { };