Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pythonOlder 2, pytest, pytest-metadata, setuptools-scm }: 3 4buildPythonPackage rec { 5 pname = "pytest-html"; 6 version = "3.2.0"; 7 disabled = pythonOlder "3.6"; 8 9 src = fetchPypi { 10 inherit pname version; 11 hash = "sha256-xOL0uwv/xDf1GtIXSoo+cd+Bu8L2iUYE5gSvGPvmh8M="; 12 }; 13 14 nativeBuildInputs = [ setuptools-scm ]; 15 buildInputs = [ pytest ]; 16 propagatedBuildInputs = [ pytest-metadata ]; 17 18 meta = with lib; { 19 description = "Plugin for generating HTML reports"; 20 homepage = "https://github.com/pytest-dev/pytest-html"; 21 license = licenses.mpl20; 22 maintainers = with maintainers; [ mpoquet ]; 23 }; 24}