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