Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / repoze-sphinx-autointerface / default.nix
blob879a18e3d4a7189219628713e260b70eb785cc0d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , pytestCheckHook
7 , zope-interface
8 , zope-testrunner
9 , sphinx
12 buildPythonPackage rec {
13   pname = "repoze-sphinx-autointerface";
14   version = "1.0.0";
15   pyproject = true;
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     pname = "repoze.sphinx.autointerface";
21     inherit version;
22     hash = "sha256-SGvxQjpGlrkVPkiM750ybElv/Bbd6xSwyYh7RsYOKKE=";
23   };
25   nativeBuildInputs = [
26     setuptools
27   ];
29   propagatedBuildInputs = [
30     zope-interface
31     sphinx
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     zope-testrunner
37   ];
39   pythonImportsCheck = [
40     "repoze.sphinx.autointerface"
41   ];
43   pythonNamespaces = [
44     "repoze"
45     "repoze.sphinx"
46   ];
48   meta = with lib; {
49     homepage = "https://github.com/repoze/repoze.sphinx.autointerface";
50     description = "Auto-generate Sphinx API docs from Zope interfaces";
51     changelog = "https://github.com/repoze/repoze.sphinx.autointerface/blob/${version}/CHANGES.rst";
52     license = licenses.bsd0;
53     maintainers = with maintainers; [ domenkozar ];
54     # https://github.com/repoze/repoze.sphinx.autointerface/issues/21
55     broken = versionAtLeast sphinx.version "7.2";
56   };