1{ lib
2, buildPythonPackage
3, fetchPypi
4, pyyaml
5, prance
6, marshmallow
7, pytestCheckHook
8, mock
9, openapi-spec-validator
10}:
11
12buildPythonPackage rec {
13 pname = "apispec";
14 version = "3.1.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "24b8490c22310b0779a058ccb24ec2fef33d571bb5aba1f525ab5963b0eabcdd";
19 };
20
21 checkInputs = [
22 pyyaml
23 prance
24 openapi-spec-validator
25 marshmallow
26 mock
27 pytestCheckHook
28 ];
29
30 meta = with lib; {
31 description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification";
32 homepage = https://github.com/marshmallow-code/apispec;
33 license = licenses.mit;
34 maintainers = [ maintainers.costrouc ];
35 };
36}