python3Packages.realtime: 2.5.2 -> 2.7.0
Diff: https://github.com/supabase/realtime-py/compare/v2.5.2...v2.7.0 Changelog: https://github.com/supabase/realtime-py/blob/v2.7.0/CHANGELOG.md
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user