1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 flit-core,
7}:
8
9buildPythonPackage rec {
10 pname = "sphinxcontrib-applehelp";
11 version = "2.0.0";
12 pyproject = true;
13
14 disabled = pythonOlder "3.9";
15
16 src = fetchPypi {
17 pname = "sphinxcontrib_applehelp";
18 inherit version;
19 hash = "sha256-LynvMxc1zpWO+kc0hz8ISUGXCJTGCQQIsHnGGy4cBtE=";
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 = "Sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books";
32 homepage = "https://github.com/sphinx-doc/sphinxcontrib-applehelp";
33 license = licenses.bsd2;
34 teams = [ teams.sphinx ];
35 };
36}