1{ lib 2, buildPythonPackage 3, fetchPypi 4, dulwich 5, pbr 6, sphinx 7}: 8 9buildPythonPackage rec { 10 pname = "openstackdocstheme"; 11 version = "3.0.1"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-yB1CdOqWV7hEfUYdtqQ/fd4sNfy7Sp7YJbRQhK5egLk="; 16 }; 17 18 postPatch = '' 19 # only a small portion of the listed packages are actually needed for running the tests 20 # so instead of removing them one by one remove everything 21 rm test-requirements.txt 22 ''; 23 24 propagatedBuildInputs = [ dulwich pbr sphinx ]; 25 26 # no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "openstackdocstheme" ]; 30 31 meta = with lib; { 32 description = "Sphinx theme for RST-sourced documentation published to docs.openstack.org"; 33 homepage = "https://github.com/openstack/openstackdocstheme"; 34 license = licenses.asl20; 35 maintainers = teams.openstack.members; 36 }; 37}