depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-multitoc-numbering/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

40 lines
849 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sphinx
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "sphinx-multitoc-numbering";
version = "0.1.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yWB2caxREjb6XWGnSRwQMecA6NSYydJBjmxh0SUSCa4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
sphinx
];
pythonImportsCheck = [
"sphinx_multitoc_numbering"
];
meta = with lib; {
description = "Supporting continuous HTML section numbering";
homepage = "https://github.com/executablebooks/sphinx-multitoc-numbering";
changelog = "https://github.com/executablebooks/sphinx-multitoc-numbering/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};
}