1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 flit-core,
7}:
8
9buildPythonPackage rec {
10 pname = "sphinxcontrib-htmlhelp";
11 version = "2.1.0";
12 pyproject = true;
13
14 disabled = pythonOlder "3.9";
15
16 src = fetchPypi {
17 pname = "sphinxcontrib_htmlhelp";
18 inherit version;
19 hash = "sha256-yeKRas6KrWTME6DSM+4iMX8rkCW5zzKVJJ+phcxwguk=";
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 teams = [ teams.sphinx ];
35 };
36}