Unverified Commit b48cf763 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.realtime: 2.28.3 -> 3.0.0a1 (#509837)

parents 7ddd21a2 3cf942f4
Loading
Loading
Loading
Loading
+19 −22
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  poetry-core,
  aiohttp,
  websockets,
  typing-extensions,
  pydantic,
  pytest-asyncio,
  pytest-cov-stub,
  python-dotenv,
  pytestCheckHook,
  pythonRelaxDepsHook,
  python-dotenv,
  typing-extensions,
  websockets,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "realtime";
  version = "2.28.3";
  version = "3.0.0a1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "supabase";
    repo = "supabase-py";
    tag = "v${version}";
    hash = "sha256-Ra7Ig9IMWouMIadx6mg/pe8GlgLCavR6OsPjqgySTCw=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Pvu2zyRKS99/KEIWwQXBR7Moegt0KITiaMWi5mi+CL4=";
  };

  sourceRoot = "${src.name}/src/realtime";
  sourceRoot = "${finalAttrs.src.name}/src/realtime";

  pythonRelaxDeps = [ "websockets" ];

  build-system = [ poetry-core ];

  dependencies = [
    websockets
    typing-extensions
    pydantic
    typing-extensions
    websockets
  ];

  nativeBuildInputs = [ pythonRelaxDepsHook ];

  pythonRelaxDeps = [ "websockets" ];

  nativeCheckInputs = [
    aiohttp
    pytestCheckHook
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
    python-dotenv
    pytest-asyncio
  ];

  pythonImportsCheck = [ "realtime" ];
@@ -58,8 +55,8 @@ buildPythonPackage rec {
  meta = {
    description = "Client library for Supabase Functions";
    homepage = "https://github.com/supabase/supabase-py";
    changelog = "https://github.com/supabase/supabase-py/blob/v${src.tag}/CHANGELOG.md";
    maintainers = with lib.maintainers; [ siegema ];
    changelog = "https://github.com/supabase/supabase-py/blob/v${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ siegema ];
  };
}
})