python3Packages.pytest-html: init at 2.1.0

This commit is contained in:
Millian Poquet 2020-03-12 11:26:25 +01:00 committed by Jon
parent ebed789ad4
commit 487bb6c32c
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, pytest, pytest-metadata, setuptools_scm }:
buildPythonPackage rec {
pname = "pytest-html";
version = "2.1.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "14cy5iixi6i8i5r5xvvkhwk48zgxnb1ypbp0g1343mwfdihshic6";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest pytest-metadata ];
meta = with stdenv.lib; {
description = "Plugin for generating HTML reports";
homepage = "https://github.com/pytest-dev/pytest-html";
license = licenses.mpl20;
maintainers = with maintainers; [ mpoquet ];
};
}

View file

@ -2399,6 +2399,8 @@ in {
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
pytest-html = callPackage ../development/python-modules/pytest-html { };
pytest-metadata = callPackage ../development/python-modules/pytest-metadata { };
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };