pythonPackages.sphinxcontrib-fulltoc: init at 1.2.0

This commit is contained in:
Jaakko Luttinen 2019-11-27 18:51:33 +02:00 committed by Jon
parent 51fa3d374a
commit d7ef824b7b
2 changed files with 32 additions and 0 deletions

@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, sphinx, pbr }:
buildPythonPackage rec {
pname = "sphinxcontrib-fulltoc";
version = "1.2.0";
# pkgutil namespaces are broken in nixpkgs (because they can't scan multiple
# directories). But python2 is EOL, so not supporting it, should be ok.
disabled = pythonOlder "3";
src = fetchPypi {
inherit pname version;
sha256 = "1nbwflv9szyh37yr075xhck8b4gg2c7g3sa38mfi7wv7qhpxcif8";
};
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ sphinx ];
# There are no unit tests
doCheck = false;
# Ensure package importing works
pythonImportsCheck = [ "sphinxcontrib.fulltoc" ];
meta = with lib; {
description = "Include a full table of contents in your Sphinx HTML sidebar";
homepage = "https://sphinxcontrib-fulltoc.readthedocs.org/";
license = licenses.asl20;
maintainers = with maintainers; [ jluttine ];
};
}

@ -5647,6 +5647,8 @@ in {
sphinxcontrib-devhelp = callPackage ../development/python-modules/sphinxcontrib-devhelp {};
sphinxcontrib-fulltoc = callPackage ../development/python-modules/sphinxcontrib-fulltoc { };
sphinxcontrib-htmlhelp = callPackage ../development/python-modules/sphinxcontrib-htmlhelp {};
sphinxcontrib-jsmath = callPackage ../development/python-modules/sphinxcontrib-jsmath {};