Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 62 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, email-validator, fastapi, fetchFromGitHub, httpx, oauthlib, poetry-core, pydantic, pylint, pytest-asyncio, pytest-xdist, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "fastapi-sso"; version = "0.15.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "tomasvotava"; repo = "fastapi-sso"; rev = "refs/tags/${version}"; hash = "sha256-jSUogf2Dup8k4BOQAXJwg8R96Blgieg82/X/n1TLnL0="; };
postPatch = '' sed -i "/--cov/d" pyproject.toml '';
build-system = [ poetry-core ];
dependencies = [ fastapi httpx oauthlib pydantic pylint ];
nativeCheckInputs = [ email-validator pytest-asyncio pytest-xdist pytestCheckHook ];
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"; homepage = "https://github.com/tomasvotava/fastapi-sso"; changelog = "https://github.com/tomasvotava/fastapi-sso/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}