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