pythonPackages.sphinxcontrib-fulltoc: init at 1.2.0

authored by

Jaakko Luttinen and committed by
Jon
d7ef824b 51fa3d37

+32
+30
pkgs/development/python-modules/sphinxcontrib-fulltoc/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, pythonOlder, sphinx, pbr }: 2 + 3 + buildPythonPackage rec { 4 + pname = "sphinxcontrib-fulltoc"; 5 + version = "1.2.0"; 6 + 7 + # pkgutil namespaces are broken in nixpkgs (because they can't scan multiple 8 + # directories). But python2 is EOL, so not supporting it, should be ok. 9 + disabled = pythonOlder "3"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "1nbwflv9szyh37yr075xhck8b4gg2c7g3sa38mfi7wv7qhpxcif8"; 14 + }; 15 + 16 + nativeBuildInputs = [ pbr ]; 17 + propagatedBuildInputs = [ sphinx ]; 18 + 19 + # There are no unit tests 20 + doCheck = false; 21 + # Ensure package importing works 22 + pythonImportsCheck = [ "sphinxcontrib.fulltoc" ]; 23 + 24 + meta = with lib; { 25 + description = "Include a full table of contents in your Sphinx HTML sidebar"; 26 + homepage = "https://sphinxcontrib-fulltoc.readthedocs.org/"; 27 + license = licenses.asl20; 28 + maintainers = with maintainers; [ jluttine ]; 29 + }; 30 + }
+2
pkgs/top-level/python-packages.nix
··· 5647 5647 5648 5648 sphinxcontrib-devhelp = callPackage ../development/python-modules/sphinxcontrib-devhelp {}; 5649 5649 5650 + sphinxcontrib-fulltoc = callPackage ../development/python-modules/sphinxcontrib-fulltoc { }; 5651 + 5650 5652 sphinxcontrib-htmlhelp = callPackage ../development/python-modules/sphinxcontrib-htmlhelp {}; 5651 5653 5652 5654 sphinxcontrib-jsmath = callPackage ../development/python-modules/sphinxcontrib-jsmath {};