45 lines
745 B
Nix
45 lines
745 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
httpx,
|
|
h2,
|
|
pydantic,
|
|
pyjwt,
|
|
pytest-mock,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gotrue";
|
|
version = "2.12.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+HTPnQsvAzW/vQ1uKeP3r/eZmM0cFNKtgU24wGzuOFI=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
httpx
|
|
h2
|
|
pydantic
|
|
pyjwt
|
|
pytest-mock
|
|
];
|
|
|
|
pythonImportsCheck = [ "gotrue" ];
|
|
|
|
# test aren't in pypi package
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/supabase/auth-py";
|
|
license = lib.licenses.mit;
|
|
description = "Python Client Library for Supabase Auth";
|
|
maintainers = with lib.maintainers; [ siegema ];
|
|
};
|
|
}
|