1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sphinx,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "sphinx-multitoc-numbering";
12 version = "0.1.3";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-yWB2caxREjb6XWGnSRwQMecA6NSYydJBjmxh0SUSCa4=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 propagatedBuildInputs = [ sphinx ];
25
26 pythonImportsCheck = [ "sphinx_multitoc_numbering" ];
27
28 meta = with lib; {
29 description = "Supporting continuous HTML section numbering";
30 homepage = "https://github.com/executablebooks/sphinx-multitoc-numbering";
31 changelog = "https://github.com/executablebooks/sphinx-multitoc-numbering/blob/v${version}/CHANGELOG.md";
32 license = licenses.mit;
33 maintainers = [ ];
34 };
35}