1{ lib
2, aiohttp
3, aiohttp-jinja2
4, aiohttp-remotes
5, aiohttp-swagger
6, buildPythonPackage
7, clickclick
8, decorator
9, fetchFromGitHub
10, flask
11, inflection
12, jsonschema
13, openapi-spec-validator
14, pytest-aiohttp
15, pytestCheckHook
16, pythonOlder
17, pyyaml
18, requests
19, swagger-ui-bundle
20, testfixtures
21}:
22
23buildPythonPackage rec {
24 pname = "connexion";
25 version = "2.7.0";
26 disabled = pythonOlder "3.6";
27
28 src = fetchFromGitHub {
29 owner = "zalando";
30 repo = pname;
31 rev = version;
32 sha256 = "15iflq5403diwda6n6qrpq67wkdcvl3vs0gsg0fapxqnq3a2m7jj";
33 };
34
35 propagatedBuildInputs = [
36 aiohttp
37 aiohttp-jinja2
38 aiohttp-swagger
39 clickclick
40 flask
41 inflection
42 jsonschema
43 openapi-spec-validator
44 pyyaml
45 requests
46 swagger-ui-bundle
47 ];
48
49 checkInputs = [
50 aiohttp-remotes
51 decorator
52 pytest-aiohttp
53 pytestCheckHook
54 testfixtures
55 ];
56
57 pythonImportsCheck = [ "connexion" ];
58
59 meta = with lib; {
60 description = "Swagger/OpenAPI First framework on top of Flask";
61 homepage = "https://github.com/zalando/connexion/";
62 license = licenses.asl20;
63 maintainers = with maintainers; [ elohmeier ];
64 };
65}