1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, flit-core
6}:
7
8buildPythonPackage rec {
9 pname = "sphinxcontrib-applehelp";
10 version = "1.0.7";
11 pyproject = true;
12
13 disabled = pythonOlder "3.9";
14
15 src = fetchPypi {
16 pname = "sphinxcontrib_applehelp";
17 inherit version;
18 hash = "sha256-Of3I12LTOwGn2PAmo7fXFWPqO3J4fV8ArYRlvZ1t+/o=";
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 = "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 maintainers = teams.sphinx.members;
35 };
36}