2019-07-18 23:01:06 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyyaml
|
|
|
|
, prance
|
|
|
|
, marshmallow
|
2019-11-15 21:14:25 +00:00
|
|
|
, pytestCheckHook
|
2019-07-18 23:01:06 +00:00
|
|
|
, mock
|
|
|
|
, openapi-spec-validator
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apispec";
|
2020-07-31 08:56:35 +00:00
|
|
|
version = "3.3.1";
|
2019-07-18 23:01:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 08:56:35 +00:00
|
|
|
sha256 = "f5244ccca33f7a81309f6b3c9d458e33e869050c2d861b9f8cee24b3ad739d2b";
|
2019-07-18 23:01:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pyyaml
|
|
|
|
prance
|
|
|
|
openapi-spec-validator
|
|
|
|
marshmallow
|
|
|
|
mock
|
2019-11-15 21:14:25 +00:00
|
|
|
pytestCheckHook
|
2019-07-18 23:01:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/marshmallow-code/apispec";
|
2019-07-18 23:01:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|