supabase: init at 2.16.0
This commit is contained in:
parent
cd97d04c8b
commit
1bb0ea9c9e
58
pkgs/development/python-modules/supabase/default.nix
Normal file
58
pkgs/development/python-modules/supabase/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@ -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 { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user