13 , openapi-schema-validator
14 , openapi-spec-validator
28 buildPythonPackage rec {
29 pname = "openapi-core";
33 disabled = pythonOlder "3.7";
35 src = fetchFromGitHub {
37 repo = "openapi-core";
39 hash = "sha256-J3n34HR5lfMM0ik5HAZ2JCr75fX5FTqBWrZ7E3/6XSE=";
43 sed -i "/--cov/d" pyproject.toml
50 propagatedBuildInputs = [
55 openapi-schema-validator
57 openapi-spec-validator
63 passthru.optional-dependencies = {
87 ] ++ passthru.optional-dependencies.flask
88 ++ passthru.optional-dependencies.falcon
89 ++ passthru.optional-dependencies.django
90 ++ passthru.optional-dependencies.starlette
91 ++ passthru.optional-dependencies.requests;
94 # AttributeError: 'str' object has no attribute '__name__'
95 #"tests/integration/validation"
96 # Requires secrets and additional configuration
97 "tests/integration/contrib/django/"
98 # Unable to detect SECRET_KEY and ROOT_URLCONF
99 "tests/integration/contrib/django/"
102 pythonImportsCheck = [
104 "openapi_core.validation.request.validators"
105 "openapi_core.validation.response.validators"
109 description = "Client-side and server-side support for the OpenAPI Specification v3";
110 homepage = "https://github.com/p1c2u/openapi-core";
111 license = licenses.bsd3;
112 maintainers = with maintainers; [ dotlambda ];