diff --git a/pkgs/development/python-modules/fastapi-sso/default.nix b/pkgs/development/python-modules/fastapi-sso/default.nix index de57d71cf53b..1039e258f515 100644 --- a/pkgs/development/python-modules/fastapi-sso/default.nix +++ b/pkgs/development/python-modules/fastapi-sso/default.nix @@ -8,7 +8,8 @@ oauthlib, poetry-core, pydantic, - pylint, + pyjwt, + pytest-cov-stub, pytest-asyncio, pytest-xdist, pytestCheckHook, @@ -17,22 +18,18 @@ buildPythonPackage rec { pname = "fastapi-sso"; - version = "0.17.0"; + version = "0.18.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "tomasvotava"; repo = "fastapi-sso"; tag = version; - hash = "sha256-CkYAF2GmVCooyHt3Tua6ClYMbgyLosqSa8z/zkV2eIE="; + hash = "sha256-591+7Jjg3Pb0qXZsj4tEk8lHqxAzWrs5GO92jFJ4Qmo="; }; - postPatch = '' - sed -i "/--cov/d" pyproject.toml - ''; - build-system = [ poetry-core ]; dependencies = [ @@ -40,12 +37,13 @@ buildPythonPackage rec { httpx oauthlib pydantic - pylint - ]; + pyjwt + ] ++ pydantic.optional-dependencies.email; nativeCheckInputs = [ email-validator pytest-asyncio + pytest-cov-stub pytest-xdist pytestCheckHook ];