Merge pull request #301418 from r-ryantm/auto-update/python312Packages.fastapi-sso
python312Packages.fastapi-sso: 0.13.1 -> 0.14.0
This commit is contained in:
commit
c2f0633069
1 changed files with 19 additions and 22 deletions
|
@ -1,22 +1,23 @@
|
||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, email-validator
|
buildPythonPackage,
|
||||||
, fastapi
|
email-validator,
|
||||||
, fetchFromGitHub
|
fastapi,
|
||||||
, httpx
|
fetchFromGitHub,
|
||||||
, oauthlib
|
httpx,
|
||||||
, poetry-core
|
oauthlib,
|
||||||
, pydantic
|
poetry-core,
|
||||||
, pylint
|
pydantic,
|
||||||
, pytest-asyncio
|
pylint,
|
||||||
, pytest-xdist
|
pytest-asyncio,
|
||||||
, pytestCheckHook
|
pytest-xdist,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fastapi-sso";
|
pname = "fastapi-sso";
|
||||||
version = "0.13.1";
|
version = "0.14.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -25,16 +26,14 @@ buildPythonPackage rec {
|
||||||
owner = "tomasvotava";
|
owner = "tomasvotava";
|
||||||
repo = "fastapi-sso";
|
repo = "fastapi-sso";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-gblxjunXNerbC+7IYkGrO/PJak0MCoxdmWfo7iVeV7g=";
|
hash = "sha256-JFIVmpKsTaL7SYwamW/8zMWaBampmCTweiNz7zcgbco=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "/--cov/d" pyproject.toml
|
sed -i "/--cov/d" pyproject.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
fastapi
|
fastapi
|
||||||
|
@ -51,9 +50,7 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "fastapi_sso" ];
|
||||||
"fastapi_sso"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 Account";
|
||||||
|
|
Loading…
Reference in a new issue