mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
python310Packages.sphinx-external-toc: init at 0.3.0
This commit is contained in:
parent
018764c3b3
commit
dd9632d222
2 changed files with 43 additions and 0 deletions
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchPypi
|
||||||
|
, flit-core
|
||||||
|
, click
|
||||||
|
, pyyaml
|
||||||
|
, sphinx
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sphinx-external-toc";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
format = "flit";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version;
|
||||||
|
pname = "sphinx_external_toc";
|
||||||
|
sha256 = "73198636ada4b4f72f69c7bab09f0e4ce84978056dc5afa9ee51d287bec0a8ef";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ flit-core ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
click
|
||||||
|
pyyaml
|
||||||
|
sphinx
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "sphinx_external_toc" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A sphinx extension that allows the site-map to be defined in a single YAML file";
|
||||||
|
homepage = "https://github.com/executablebooks/sphinx-external-toc";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ marsam ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9984,6 +9984,8 @@ in {
|
||||||
|
|
||||||
sphinx-comments = callPackage ../development/python-modules/sphinx-comments { };
|
sphinx-comments = callPackage ../development/python-modules/sphinx-comments { };
|
||||||
|
|
||||||
|
sphinx-external-toc = callPackage ../development/python-modules/sphinx-external-toc { };
|
||||||
|
|
||||||
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
||||||
|
|
||||||
sphinx-togglebutton = callPackage ../development/python-modules/sphinx-togglebutton { };
|
sphinx-togglebutton = callPackage ../development/python-modules/sphinx-togglebutton { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue