0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
24 lines
662 B
Nix
24 lines
662 B
Nix
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
, pytest, pytest-metadata, setuptools-scm }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-html";
|
|
version = "3.2.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-xOL0uwv/xDf1GtIXSoo+cd+Bu8L2iUYE5gSvGPvmh8M=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
buildInputs = [ pytest ];
|
|
propagatedBuildInputs = [ pytest-metadata ];
|
|
|
|
meta = with lib; {
|
|
description = "Plugin for generating HTML reports";
|
|
homepage = "https://github.com/pytest-dev/pytest-html";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ mpoquet ];
|
|
};
|
|
}
|