1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, flit-core
6}:
7
8buildPythonPackage rec {
9 pname = "sphinxcontrib-htmlhelp";
10 version = "2.0.4";
11 pyproject = true;
12
13 disabled = pythonOlder "3.9";
14
15 src = fetchPypi {
16 pname = "sphinxcontrib_htmlhelp";
17 inherit version;
18 hash = "sha256-bCahGKBbdgAHOEKbckoFaNveW3I5GmiFd9oI8RiRCSo=";
19 };
20
21 nativeBuildInputs = [
22 flit-core
23 ];
24
25 # Check is disabled due to circular dependency of sphinx
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}