2018-10-27 15:25:04 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pyyaml
|
|
|
|
, jsonschema
|
|
|
|
, sphinxcontrib_httpdomain
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-openapi";
|
2018-11-04 10:35:17 +00:00
|
|
|
version = "0.3.2";
|
2018-10-27 15:25:04 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:17 +00:00
|
|
|
sha256 = "411da1819fda0593976a157f1a14ec1cfaef9ee1b4b708e795d0bf3953f0142b";
|
2018-10-27 15:25:04 +01: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|