Robert Schütz
2025-08-26 21:48:24 -07:00
parent 90f0db1b38
commit 7fb5b2dc8c
@@ -3,41 +3,40 @@
buildPythonPackage,
fetchFromGitHub,
poetry-core,
python-dateutil,
pydantic,
typing-extensions,
websockets,
aiohttp,
pytest-asyncio,
pytestCheckHook,
python-dotenv,
}:
buildPythonPackage rec {
pname = "realtime-py";
version = "2.5.2";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "supabase";
repo = "realtime-py";
rev = "v${version}";
hash = "sha256-NFxWcnt/zpgDehacqK7QlXhmjrh6JoA6xh+sFjD/tt0=";
tag = "v${version}";
hash = "sha256-cWWgVs+ZNRvBje3kuDQS5L5utkY3z7MluGFNmjf9LFc=";
};
dependencies = [
python-dateutil
pydantic
typing-extensions
websockets
aiohttp
];
pythonRelaxDeps = [
"websockets"
"aiohttp"
"typing-extensions"
];
# Can't run all the tests due to infinite loop in pytest-asyncio
nativeBuildInputs = [
nativeCheckInputs = [
aiohttp
pytest-asyncio
pytestCheckHook
python-dotenv
];
@@ -46,9 +45,11 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
# requires running Supabase
doCheck = false;
meta = {
changelog = "https://github.com/supabase/realtime-py/blob/${src.tag}/CHANGELOG.md";
homepage = "https://github.com/supabase/realtime-py";
license = lib.licenses.mit;
description = "Python Realtime Client for Supabase";