Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, hatchling, protobuf, gitUpdater,}:
buildPythonPackage rec { pname = "livekit-protocol"; version = "1.1.17"; pyproject = true;
src = fetchFromGitHub { owner = "livekit"; repo = "python-sdks"; tag = "protocol-v${version}"; hash = "sha256-XTBQi1ckwHw7bpd2jQWqwhDXO0iHQRirc2GjfDtYILA="; };
pypaBuildFlags = [ "livekit-protocol" ];
build-system = [ hatchling ];
dependencies = [ protobuf ];
pythonRemoveDeps = [ "types-protobuf" ];
doCheck = false; # no tests
pythonImportsCheck = [ "livekit" ];
passthru = { # bulk updater uses wrong tag skipBulkUpdate = true; updateScript = gitUpdater { rev-prefix = "protocol-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; };}