10 buildPythonPackage rec {
11 pname = "sphinxcontrib-fulltoc";
13 format = "setuptools";
15 # pkgutil namespaces are broken in nixpkgs (because they can't scan multiple
16 # directories). But python2 is EOL, so not supporting it, should be ok.
17 disabled = pythonOlder "3";
20 inherit pname version;
21 sha256 = "1nbwflv9szyh37yr075xhck8b4gg2c7g3sa38mfi7wv7qhpxcif8";
24 nativeBuildInputs = [ pbr ];
25 propagatedBuildInputs = [ sphinx ];
27 # There are no unit tests
29 # Ensure package importing works
30 pythonImportsCheck = [ "sphinxcontrib.fulltoc" ];
32 pythonNamespaces = [ "sphinxcontrib" ];
35 description = "Include a full table of contents in your Sphinx HTML sidebar";
36 homepage = "https://sphinxcontrib-fulltoc.readthedocs.org/";
37 license = licenses.asl20;
38 maintainers = with maintainers; [ jluttine ];