blob: da92f50fbfb808a69472475c9b578510005b50cb (
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
|
{
lib,
buildPythonPackage,
deepmerge,
fetchPypi,
isPy27,
setuptools-scm,
jsonschema,
picobox,
pyyaml,
sphinx-mdinclude,
sphinxcontrib-httpdomain,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-openapi";
version = "0.8.4";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-34g4CKW15LQROtaXGFxDo/Qt89znBFOveLpwdpB+miA=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
deepmerge
jsonschema
picobox
pyyaml
sphinx-mdinclude
sphinxcontrib-httpdomain
];
doCheck = false;
pythonNamespaces = [ "sphinxcontrib" ];
meta = {
homepage = "https://github.com/ikalnytskyi/sphinxcontrib-openapi";
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
license = lib.licenses.bsd0;
maintainers = [ lib.maintainers.flokli ];
};
}
|