Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 flit-core, 7}: 8 9buildPythonPackage rec { 10 pname = "sphinxcontrib-htmlhelp"; 11 version = "2.0.5"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchPypi { 17 pname = "sphinxcontrib_htmlhelp"; 18 inherit version; 19 hash = "sha256-Dch2N9XeU91e7DpqAXU7HM+ZSUvXVqr+zXS0+p5ykBU="; 20 }; 21 22 nativeBuildInputs = [ flit-core ]; 23 24 # Check is disabled due to circular dependency of sphinx 25 dontCheckRuntimeDeps = true; 26 doCheck = false; 27 28 pythonNamespaces = [ "sphinxcontrib" ]; 29 30 meta = with lib; { 31 description = "Sphinx extension which renders HTML help files"; 32 homepage = "https://github.com/sphinx-doc/sphinxcontrib-htmlhelp"; 33 license = licenses.bsd2; 34 maintainers = teams.sphinx.members; 35 }; 36}