Merge: python310Packages.openapi-core: 0.17.1 -> 0.18.0
...into staging-next. Taken from PR #247814
This commit is contained in:
commit
dc11c1a428
1 changed files with 16 additions and 13 deletions
|
@ -1,4 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, asgiref
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, django
|
, django
|
||||||
, djangorestframework
|
, djangorestframework
|
||||||
|
@ -7,36 +9,35 @@
|
||||||
, flask
|
, flask
|
||||||
, httpx
|
, httpx
|
||||||
, isodate
|
, isodate
|
||||||
|
, jsonschema
|
||||||
, jsonschema-spec
|
, jsonschema-spec
|
||||||
, mock
|
|
||||||
, more-itertools
|
, more-itertools
|
||||||
, openapi-schema-validator
|
, openapi-schema-validator
|
||||||
, openapi-spec-validator
|
, openapi-spec-validator
|
||||||
, parse
|
, parse
|
||||||
, pathable
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
|
, pytest-aiohttp
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, responses
|
, responses
|
||||||
, requests
|
, requests
|
||||||
, starlette
|
, starlette
|
||||||
, typing-extensions
|
|
||||||
, webob
|
, webob
|
||||||
, werkzeug
|
, werkzeug
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "openapi-core";
|
pname = "openapi-core";
|
||||||
version = "0.17.1";
|
version = "0.18.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "p1c2u";
|
owner = "p1c2u";
|
||||||
repo = "openapi-core";
|
repo = "openapi-core";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-xlrG2FF55qDsrkdSqCBLu3/QLtZs48ZUB90B2CemY64=";
|
hash = "sha256-2OcGaZQwzgxcwrXinmJjFc91620Ri0O79c8WZWfDdlQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -50,17 +51,19 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
isodate
|
isodate
|
||||||
more-itertools
|
more-itertools
|
||||||
pathable
|
|
||||||
more-itertools
|
|
||||||
openapi-schema-validator
|
|
||||||
jsonschema-spec
|
|
||||||
openapi-spec-validator
|
|
||||||
typing-extensions
|
|
||||||
parse
|
parse
|
||||||
|
openapi-schema-validator
|
||||||
|
openapi-spec-validator
|
||||||
werkzeug
|
werkzeug
|
||||||
|
jsonschema-spec
|
||||||
|
asgiref
|
||||||
|
jsonschema
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
|
aiohttp = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
django = [
|
django = [
|
||||||
django
|
django
|
||||||
];
|
];
|
||||||
|
@ -80,7 +83,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
mock
|
pytest-aiohttp
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
responses
|
responses
|
||||||
webob
|
webob
|
||||||
|
|
Loading…
Reference in a new issue