nixpkgs/pkgs/development/python-modules/supabase/default.nix
Martin Weinelt 26f7845168 python3Packages.supabase: 2.17.0 -> 2.27.2
This commit was automatically generated using update-python-libraries.
2026-02-01 17:39:01 +01:00

57 lines
990 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
gotrue,
postgrest,
realtime,
storage3,
supafunc,
httpx,
pytestCheckHook,
python-dotenv,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "supabase";
version = "2.27.2";
pyproject = true;
src = fetchFromGitHub {
owner = "supabase";
repo = "supabase-py";
tag = "v${version}";
hash = "sha256-TRATa+lDRm2MDuARXfBRWnWYUak8i1fW7rr5ujWN8TY=";
};
build-system = [ poetry-core ];
# FIXME remove for supabase >= 2.18.0
pythonRelaxDeps = true;
dependencies = [
postgrest
realtime
gotrue
httpx
storage3
supafunc
];
nativeBuildInputs = [
pytestCheckHook
python-dotenv
pytest-asyncio
];
pythonImportsCheck = [ "supabase" ];
meta = {
homepage = "https://github.com/supabase/supabase-py";
license = lib.licenses.mit;
description = "Supabas client for Python";
maintainers = with lib.maintainers; [ siegema ];
};
}