2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
2021-06-03 12:09:11 +02:00
|
|
|
, pytest, pytest-metadata, setuptools-scm }:
|
2020-03-12 11:26:25 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-html";
|
2022-12-30 20:13:40 +01:00
|
|
|
version = "3.2.0";
|
2020-03-12 11:26:25 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-30 20:13:40 +01:00
|
|
|
sha256 = "sha256-xOL0uwv/xDf1GtIXSoo+cd+Bu8L2iUYE5gSvGPvmh8M=";
|
2020-03-12 11:26:25 +01:00
|
|
|
};
|
|
|
|
|
2021-06-03 12:09:11 +02:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2021-03-12 23:20:19 +01:00
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ pytest-metadata ];
|
2020-03-12 11:26:25 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-03-12 11:26:25 +01:00
|
|
|
description = "Plugin for generating HTML reports";
|
|
|
|
homepage = "https://github.com/pytest-dev/pytest-html";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ mpoquet ];
|
|
|
|
};
|
|
|
|
}
|