2018-10-27 14:25:04 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pyyaml
|
|
|
|
, jsonschema
|
|
|
|
, sphinxcontrib_httpdomain
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-openapi";
|
2019-10-24 06:47:49 +00:00
|
|
|
version = "0.5.0";
|
2018-10-27 14:25:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:49 +00:00
|
|
|
sha256 = "2a5883456c0caba0dad90f07968c75a50d5fc425a3aa06d1c538472ddf8c7e22";
|
2018-10-27 14:25:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [setuptools_scm pyyaml jsonschema sphinxcontrib_httpdomain];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/ikalnytskyi/sphinxcontrib-openapi;
|
|
|
|
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|