1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, flit-core
6}:
7
8buildPythonPackage rec {
9 pname = "sphinxcontrib-devhelp";
10 version = "1.0.5";
11 pyproject = true;
12
13 disabled = pythonOlder "3.9";
14
15 src = fetchPypi {
16 pname = "sphinxcontrib_devhelp";
17 inherit version;
18 hash = "sha256-Y7QeDTggfKQOu+q89NjlH3bAPnjNYavhGM9ENcc9QhI=";
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-devhelp is a sphinx extension which outputs Devhelp document.";
32 homepage = "https://github.com/sphinx-doc/sphinxcontrib-devhelp";
33 license = licenses.bsd2;
34 maintainers = teams.sphinx.members;
35 };
36}