1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 httpx,
7 h2,
8 pydantic,
9 pyjwt,
10 pytest-mock,
11}:
12
13buildPythonPackage rec {
14 pname = "gotrue";
15 version = "2.12.3";
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-+HTPnQsvAzW/vQ1uKeP3r/eZmM0cFNKtgU24wGzuOFI=";
21 };
22
23 build-system = [ poetry-core ];
24
25 dependencies = [
26 httpx
27 h2
28 pydantic
29 pyjwt
30 pytest-mock
31 ];
32
33 pythonImportsCheck = [ "gotrue" ];
34
35 # test aren't in pypi package
36 doCheck = false;
37
38 meta = {
39 homepage = "https://github.com/supabase/auth-py";
40 license = lib.licenses.mit;
41 description = "Python Client Library for Supabase Auth";
42 maintainers = with lib.maintainers; [ siegema ];
43 };
44}