realtime: init at 2.5.2

This commit is contained in:
Siege
2025-07-31 15:57:07 +02:00
committed by Sandro Jäckel
parent 9df7b3e62b
commit 3e22ed764e
2 changed files with 59 additions and 0 deletions
@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
python-dateutil,
typing-extensions,
websockets,
aiohttp,
pytestCheckHook,
python-dotenv,
}:
buildPythonPackage rec {
pname = "realtime-py";
version = "2.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "supabase";
repo = "realtime-py";
rev = "v${version}";
hash = "sha256-NFxWcnt/zpgDehacqK7QlXhmjrh6JoA6xh+sFjD/tt0=";
};
dependencies = [
python-dateutil
typing-extensions
websockets
aiohttp
];
pythonRelaxDeps = [
"websockets"
"aiohttp"
"typing-extensions"
];
# Can't run all the tests due to infinite loop in pytest-asyncio
nativeBuildInputs = [
pytestCheckHook
python-dotenv
];
pythonImportsCheck = [ "realtime" ];
build-system = [ poetry-core ];
doCheck = false;
meta = {
homepage = "https://github.com/supabase/realtime-py";
license = lib.licenses.mit;
description = "Python Realtime Client for Supabase";
maintainers = with lib.maintainers; [ siegema ];
};
}
+2
View File
@@ -15423,6 +15423,8 @@ self: super: with self; {
readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { };
realtime = callPackage ../development/python-modules/realtime { };
rebulk = callPackage ../development/python-modules/rebulk { };
recipe-scrapers = callPackage ../development/python-modules/recipe-scrapers { };