1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 pytestCheckHook, 8 zope-interface, 9 zope-testrunner, 10 sphinx, 11}: 12 13buildPythonPackage rec { 14 pname = "repoze-sphinx-autointerface"; 15 version = "1.0.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 pname = "repoze.sphinx.autointerface"; 22 inherit version; 23 hash = "sha256-SGvxQjpGlrkVPkiM750ybElv/Bbd6xSwyYh7RsYOKKE="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 zope-interface 30 sphinx 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 zope-testrunner 36 ]; 37 38 pythonImportsCheck = [ "repoze.sphinx.autointerface" ]; 39 40 pythonNamespaces = [ 41 "repoze" 42 "repoze.sphinx" 43 ]; 44 45 meta = with lib; { 46 homepage = "https://github.com/repoze/repoze.sphinx.autointerface"; 47 description = "Auto-generate Sphinx API docs from Zope interfaces"; 48 changelog = "https://github.com/repoze/repoze.sphinx.autointerface/blob/${version}/CHANGES.rst"; 49 license = licenses.bsd0; 50 maintainers = with maintainers; [ ]; 51 # https://github.com/repoze/repoze.sphinx.autointerface/issues/21 52 broken = versionAtLeast sphinx.version "7.2"; 53 }; 54}