2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
deepmerge,
|
|
|
|
fetchPypi,
|
|
|
|
isPy27,
|
|
|
|
setuptools-scm,
|
|
|
|
jsonschema,
|
|
|
|
picobox,
|
|
|
|
pyyaml,
|
|
|
|
sphinx-mdinclude,
|
|
|
|
sphinxcontrib-httpdomain,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-openapi";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.8.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-11-19 00:13:47 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-34g4CKW15LQROtaXGFxDo/Qt89znBFOveLpwdpB+miA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2022-09-09 14:08:57 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
deepmerge
|
|
|
|
jsonschema
|
|
|
|
picobox
|
|
|
|
pyyaml
|
|
|
|
sphinx-mdinclude
|
2023-11-16 04:20:00 +00:00
|
|
|
sphinxcontrib-httpdomain
|
2022-09-09 14:08:57 +00:00
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/ikalnytskyi/sphinxcontrib-openapi";
|
|
|
|
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
|
|
|
|
license = licenses.bsd0;
|
2022-09-09 14:08:57 +00:00
|
|
|
maintainers = [ maintainers.flokli ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|