diff --git a/pkgs/development/python-modules/fastapi-sso/default.nix b/pkgs/development/python-modules/fastapi-sso/default.nix index d0abe2265f7c..73598fa3fc10 100644 --- a/pkgs/development/python-modules/fastapi-sso/default.nix +++ b/pkgs/development/python-modules/fastapi-sso/default.nix @@ -13,21 +13,18 @@ pytest-asyncio, pytest-xdist, pytestCheckHook, - pythonOlder, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "fastapi-sso"; - version = "0.19.0"; + version = "0.20.0"; pyproject = true; - disabled = pythonOlder "3.11"; - src = fetchFromGitHub { owner = "tomasvotava"; repo = "fastapi-sso"; - tag = version; - hash = "sha256-ve1xeJjAfE6b5NBJJZuDUdE58RjDmIq3KI3xC5ScCco="; + tag = finalAttrs.version; + hash = "sha256-bj6csovJSVhzVaPfktJ68cOgULVifT1Ql14SL+paVG0="; }; build-system = [ poetry-core ]; @@ -54,8 +51,8 @@ buildPythonPackage rec { meta = { description = "FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 Account"; homepage = "https://github.com/tomasvotava/fastapi-sso"; - changelog = "https://github.com/tomasvotava/fastapi-sso/releases/tag/${version}"; + changelog = "https://github.com/tomasvotava/fastapi-sso/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})