2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2022-09-09 14:08:57 +00:00
|
|
|
, deepmerge
|
2023-01-20 10:41:00 +00:00
|
|
|
, fetchPypi
|
2022-09-09 14:08:57 +00:00
|
|
|
, fetchpatch
|
2020-11-19 00:13:47 +00:00
|
|
|
, isPy27
|
2021-06-04 09:07:49 +00:00
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
, jsonschema
|
2022-09-09 14:08:57 +00:00
|
|
|
, picobox
|
|
|
|
, pyyaml
|
|
|
|
, sphinx-mdinclude
|
2023-11-16 04:20:00 +00:00
|
|
|
, 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
|
|
|
};
|
|
|
|
}
|