Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 57 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ 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.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; };}