48af15f7a5
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
36 lines
748 B
Nix
36 lines
748 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyyaml
|
|
, prance
|
|
, marshmallow
|
|
, pytestCheckHook
|
|
, mock
|
|
, openapi-spec-validator
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "apispec";
|
|
version = "4.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5ec0fe72f1422a1198973fcbb48d0eb5c7390f4b0fbe55474fce999ad6826a9b";
|
|
};
|
|
|
|
checkInputs = [
|
|
pyyaml
|
|
prance
|
|
openapi-spec-validator
|
|
marshmallow
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification";
|
|
homepage = "https://github.com/marshmallow-code/apispec";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|