evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / sphinx-external-toc / default.nix
blobab45c1b8bfaf4516bbaeac20d58a9c6469e23ce4
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   flit-core,
7   click,
8   pyyaml,
9   sphinx,
12 buildPythonPackage rec {
13   pname = "sphinx-external-toc";
14   version = "1.0.1";
16   format = "pyproject";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit version;
22     pname = "sphinx_external_toc";
23     hash = "sha256-p9LGPMR+xohUZEOyi8TvRmEhgn7z3Hu1Cd41S61OouA=";
24   };
26   nativeBuildInputs = [ flit-core ];
28   propagatedBuildInputs = [
29     click
30     pyyaml
31     sphinx
32   ];
34   pythonImportsCheck = [ "sphinx_external_toc" ];
36   meta = with lib; {
37     description = "Sphinx extension that allows the site-map to be defined in a single YAML file";
38     mainProgram = "sphinx-etoc";
39     homepage = "https://github.com/executablebooks/sphinx-external-toc";
40     changelog = "https://github.com/executablebooks/sphinx-external-toc/raw/v${version}/CHANGELOG.md";
41     license = licenses.mit;
42     maintainers = [ ];
43   };