1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 wheel, 7 click, 8 colorclass, 9 sphinx, 10}: 11 12buildPythonPackage rec { 13 pname = "sphinx-versions"; 14 version = "1.1.3"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-9ROFEjET+d2Dfg4DHx0IqUN34oGwY4AGbi7teK4YmR8="; 20 }; 21 22 build-system = [ 23 setuptools 24 wheel 25 ]; 26 27 dependencies = [ 28 click 29 colorclass 30 sphinx 31 ]; 32 33 pythonImportsCheck = [ 34 "sphinxcontrib.versioning" 35 ]; 36 37 meta = { 38 description = "Sphinx extension that allows building versioned docs for self-hosting"; 39 homepage = "https://pypi.org/project/sphinx-versions/"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ booxter ]; 42 }; 43}