supabase: init at 2.16.0

This commit is contained in:
Siege 2025-07-18 22:32:14 -04:00 committed by Sandro Jäckel
parent cd97d04c8b
commit 1bb0ea9c9e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,58 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
gotrue,
postgrest-py,
realtime,
storage3,
supafunc,
httpx,
pytestCheckHook,
python-dotenv,
pytest-asyncio,
pydantic,
}:
buildPythonPackage rec {
pname = "supabase-py";
version = "2.16.0";
pyproject = true;
src = fetchFromGitHub {
owner = "supabase";
repo = "supabase-py";
rev = "v${version}";
hash = "sha256-n+LVC4R9m/BKID9wLEMw/y/2I589TUXTygSIPfTZwB8=";
};
build-system = [ poetry-core ];
propagatedBuildInputs = [
postgrest-py
realtime
gotrue
httpx
storage3
supafunc
pydantic
];
nativeBuildInputs = [
pytestCheckHook
python-dotenv
pytest-asyncio
];
pythonImportsCheck = [ "supabase" ];
doCheck = true;
meta = {
homepage = "https://github.com/supabase/supabase-py";
license = lib.licenses.mit;
description = "Supabas client for Python";
maintainers = with lib.maintainers; [ siegema ];
};
}

View File

@ -17452,6 +17452,8 @@ self: super: with self; {
sunweg = callPackage ../development/python-modules/sunweg { };
supabase = callPackage ../development/python-modules/supabase { };
supabase-functions = self.supafunc;
supafunc = callPackage ../development/python-modules/supafunc { };