diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2022-09-19 18:23:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 18:23:07 +0200 |
commit | f1dcc2356b13e166e023ab6333665c634c999807 (patch) | |
tree | c51138049b3552d187fdd6d63bce8fb3ed66cbb6 /pkgs/development/python-modules/openapi-spec-validator | |
parent | c41353b28d88da96d140006c534d0d6e88682583 (diff) | |
parent | 1fdfb1fb97c0f527a589a966a901092d7dfe8191 (diff) |
Merge pull request #191333 from NixOS/python-updates
Diffstat (limited to 'pkgs/development/python-modules/openapi-spec-validator')
-rw-r--r-- | pkgs/development/python-modules/openapi-spec-validator/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/openapi-spec-validator/default.nix b/pkgs/development/python-modules/openapi-spec-validator/default.nix index 654d751509c58..7ca4be89a32d1 100644 --- a/pkgs/development/python-modules/openapi-spec-validator/default.nix +++ b/pkgs/development/python-modules/openapi-spec-validator/default.nix @@ -5,7 +5,10 @@ , setuptools # propagates +, importlib-resources , jsonschema +, jsonschema-spec +, lazy-object-proxy , openapi-schema-validator , pyyaml @@ -19,7 +22,7 @@ buildPythonPackage rec { pname = "openapi-spec-validator"; - version = "0.4.0"; + version = "0.5.1"; format = "pyproject"; # no tests via pypi sdist @@ -27,21 +30,19 @@ buildPythonPackage rec { owner = "p1c2u"; repo = pname; rev = version; - hash = "sha256-mGgHlDZTUo72RNZ/448gkGdza4EntYU9YoBpSKDUCeA="; + hash = "sha256-8VhD57dNG0XrPUdcq39GEfHUAgdDwJ8nv+Lp57OpTLg="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'openapi-schema-validator = "^0.2.0"' 'openapi-schema-validator = "*"' - ''; - nativeBuildInputs = [ poetry-core setuptools ]; propagatedBuildInputs = [ + importlib-resources jsonschema + jsonschema-spec + lazy-object-proxy openapi-schema-validator pyyaml ]; @@ -71,8 +72,9 @@ buildPythonPackage rec { ]; meta = with lib; { - homepage = "https://github.com/p1c2u/openapi-spec-validator"; + changelog = "https://github.com/p1c2u/openapi-spec-validator/releases/tag/${version}"; description = "Validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 specification"; + homepage = "https://github.com/p1c2u/openapi-spec-validator"; license = licenses.asl20; maintainers = with maintainers; [ rvl ]; }; |