From bdbe456014e054e57fb60a1115866973cd736266 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 02:31:59 +0000 Subject: [PATCH 1/2] python312Packages.fastapi-sso: 0.13.1 -> 0.14.0 --- pkgs/development/python-modules/fastapi-sso/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastapi-sso/default.nix b/pkgs/development/python-modules/fastapi-sso/default.nix index e2e61ecd1781..9b126c5d3a5e 100644 --- a/pkgs/development/python-modules/fastapi-sso/default.nix +++ b/pkgs/development/python-modules/fastapi-sso/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "fastapi-sso"; - version = "0.13.1"; + version = "0.14.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "tomasvotava"; repo = "fastapi-sso"; rev = "refs/tags/${version}"; - hash = "sha256-gblxjunXNerbC+7IYkGrO/PJak0MCoxdmWfo7iVeV7g="; + hash = "sha256-JFIVmpKsTaL7SYwamW/8zMWaBampmCTweiNz7zcgbco="; }; postPatch = '' From 797d2ebd1e0d02babe20adaa42c18dc84569d2b5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 08:58:46 +0200 Subject: [PATCH 2/2] python312Packages.fastapi-sso: use nixfmt --- .../python-modules/fastapi-sso/default.nix | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/fastapi-sso/default.nix b/pkgs/development/python-modules/fastapi-sso/default.nix index 9b126c5d3a5e..c9a53db0501f 100644 --- a/pkgs/development/python-modules/fastapi-sso/default.nix +++ b/pkgs/development/python-modules/fastapi-sso/default.nix @@ -1,17 +1,18 @@ -{ lib -, buildPythonPackage -, email-validator -, fastapi -, fetchFromGitHub -, httpx -, oauthlib -, poetry-core -, pydantic -, pylint -, pytest-asyncio -, pytest-xdist -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + email-validator, + fastapi, + fetchFromGitHub, + httpx, + oauthlib, + poetry-core, + pydantic, + pylint, + pytest-asyncio, + pytest-xdist, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -32,9 +33,7 @@ buildPythonPackage rec { sed -i "/--cov/d" pyproject.toml ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ fastapi @@ -51,9 +50,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "fastapi_sso" - ]; + pythonImportsCheck = [ "fastapi_sso" ]; meta = with lib; { description = "FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 Account";