From 797d2ebd1e0d02babe20adaa42c18dc84569d2b5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 08:58:46 +0200 Subject: [PATCH] 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";