1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 dulwich, 6 pbr, 7 sphinx, 8 pythonAtLeast, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "openstackdocstheme"; 14 version = "3.5.0"; 15 pyproject = true; 16 17 disabled = pythonAtLeast "3.13"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-3h1dXtIMk1/CgbUP30ppUo+Q8qdb7PQtGIRD9eGWwJ8="; 22 }; 23 24 postPatch = '' 25 patchShebangs bin/ 26 ''; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 dulwich 32 pbr 33 sphinx 34 ]; 35 36 # no tests 37 doCheck = false; 38 39 pythonImportsCheck = [ "openstackdocstheme" ]; 40 41 meta = with lib; { 42 description = "Sphinx theme for RST-sourced documentation published to docs.openstack.org"; 43 homepage = "https://github.com/openstack/openstackdocstheme"; 44 license = licenses.asl20; 45 teams = [ teams.openstack ]; 46 }; 47}