diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cf2e1243375e..9681c7718017 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; }]; diff --git a/pkgs/development/python-modules/pytest-md-report/default.nix b/pkgs/development/python-modules/pytest-md-report/default.nix new file mode 100644 index 000000000000..1f9664947d2c --- /dev/null +++ b/pkgs/development/python-modules/pytest-md-report/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 48b9d11131e9..b4db8cfe65c8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };