realtime: init at 2.5.2
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user