Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pyjwt, aiohttp, protobuf, livekit-protocol, pytestCheckHook, gitUpdater,}:
buildPythonPackage rec { pname = "livekit-api"; version = "1.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "livekit"; repo = "python-sdks"; tag = "api-v${version}"; hash = "sha256-Z9ZyzESPUR+j9s9LXSTDx3pB+bltbqTeb8WVKaKk80A="; };
pypaBuildFlags = [ "livekit-api" ];
build-system = [ setuptools ];
dependencies = [ pyjwt aiohttp protobuf livekit-protocol ];
pythonRemoveDeps = [ "types-protobuf" ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "livekit-api/tests" ];
pythonImportsCheck = [ "livekit" ];
passthru = { # bulk updater uses wrong tag skipBulkUpdate = true; updateScript = gitUpdater { rev-prefix = "api-v"; }; };
meta = { changelog = "https://github.com/livekit/python-sdks/releases/tag/${src.tag}"; description = "LiveKit real-time and server SDKs for Python"; homepage = "https://github.com/livekit/python-sdks/"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ soyouzpanda ]; platforms = lib.platforms.all; };}