Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pyjwt, aiohttp, protobuf, livekit-protocol, pytestCheckHook, gitUpdater,}:
buildPythonPackage rec { pname = "livekit-api"; version = "1.0.5"; pyproject = true;
src = fetchFromGitHub { owner = "livekit"; repo = "python-sdks"; tag = "api-v${version}"; hash = "sha256-GoVPOLA4aCC26+x9//mlmOO6tb3dczN+s1C+VtGRiRE="; };
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 = { 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; };}