blob: 6cfc2dc3d4c69e051b4aaef31dc8e556fb2c0bb3 (
plain) (
blame)
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
, fetchpatch
, 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 = with lib; {
homepage = "https://github.com/ikalnytskyi/sphinxcontrib-openapi";
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
license = licenses.bsd0;
maintainers = [ maintainers.flokli ];
};
}
|