forked from mirrors/nixpkgs
Merge pull request #218706 from rrbutani/add/pytest-md-report
python3Packages.pytest-md-report: init at 0.3.0
This commit is contained in:
commit
cb0247df56
|
@ -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";
|
||||
}];
|
||||
|
|
43
pkgs/development/python-modules/pytest-md-report/default.nix
Normal file
43
pkgs/development/python-modules/pytest-md-report/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue