2019-07-19 01:01:06 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyyaml
|
|
|
|
, prance
|
|
|
|
, marshmallow
|
2019-11-15 22:14:25 +01:00
|
|
|
, pytestCheckHook
|
2019-07-19 01:01:06 +02:00
|
|
|
, mock
|
|
|
|
, openapi-spec-validator
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "apispec";
|
2021-03-26 10:53:09 +01:00
|
|
|
version = "4.3.0";
|
2019-07-19 01:01:06 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-26 10:53:09 +01:00
|
|
|
sha256 = "5ec0fe72f1422a1198973fcbb48d0eb5c7390f4b0fbe55474fce999ad6826a9b";
|
2019-07-19 01:01:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pyyaml
|
|
|
|
prance
|
|
|
|
openapi-spec-validator
|
|
|
|
marshmallow
|
|
|
|
mock
|
2019-11-15 22:14:25 +01:00
|
|
|
pytestCheckHook
|
2019-07-19 01:01:06 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/marshmallow-code/apispec";
|
2019-07-19 01:01:06 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|