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