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, packaging 15, pytest-aiohttp 16, pytestCheckHook 17, pythonOlder 18, pyyaml 19, requests 20, swagger-ui-bundle 21, testfixtures 22}: 23 24buildPythonPackage rec { 25 pname = "connexion"; 26 version = "2.14.1"; 27 format = "setuptools"; 28 29 disabled = pythonOlder "3.6"; 30 31 src = fetchFromGitHub { 32 owner = "spec-first"; 33 repo = pname; 34 rev = "refs/tags/${version}"; 35 hash = "sha256-8nWNFYW4DWAzIAsxgWPXOodlc2tuuGOktNo4N1G1oOc="; 36 }; 37 38 propagatedBuildInputs = [ 39 aiohttp 40 aiohttp-jinja2 41 aiohttp-swagger 42 clickclick 43 flask 44 inflection 45 jsonschema 46 openapi-spec-validator 47 packaging 48 pyyaml 49 requests 50 swagger-ui-bundle 51 ]; 52 53 checkInputs = [ 54 aiohttp-remotes 55 decorator 56 pytest-aiohttp 57 pytestCheckHook 58 testfixtures 59 ]; 60 61 pythonImportsCheck = [ 62 "connexion" 63 ]; 64 65 disabledTests = [ 66 # AssertionError 67 "test_headers" 68 ]; 69 70 meta = with lib; { 71 description = "Swagger/OpenAPI First framework on top of Flask"; 72 homepage = "https://github.com/spec-first/connexion"; 73 license = licenses.asl20; 74 maintainers = with maintainers; [ elohmeier ]; 75 }; 76}