python311Packages.sphinx-multitoc-numbering: refactor

This commit is contained in:
Fabian Affolter 2024-01-16 15:55:38 +01:00
parent 7081bd488c
commit c6cf6e5f38

View File

@ -2,25 +2,38 @@
, buildPythonPackage
, fetchPypi
, sphinx
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "sphinx-multitoc-numbering";
version = "0.1.3";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "c9607671ac511236fa5d61a7491c1031e700e8d498c9d2418e6c61d1251209ae";
hash = "sha256-yWB2caxREjb6XWGnSRwQMecA6NSYydJBjmxh0SUSCa4=";
};
propagatedBuildInputs = [ sphinx ];
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [ "sphinx_multitoc_numbering" ];
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 ];
};