Unverified Commit 5ea7c0bd authored by soyouzpanda's avatar soyouzpanda
Browse files

python3Packages.livekit-protocol: init at 1.0.2

parent e9c1d0ac
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  protobuf,
}:

buildPythonPackage rec {
  pname = "livekit-protocol";
  version = "1.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "livekit";
    repo = "python-sdks";
    tag = "protocol-v${version}";
    hash = "sha256-1La7XYTo9onQFNx84CwabPM6N6LXIn/7swH50hFQvB8=";
  };

  pypaBuildFlags = [ "livekit-protocol" ];

  build-system = [ setuptools ];

  dependencies = [
    protobuf
  ];

  pythonRemoveDeps = [ "types-protobuf" ];

  doCheck = false; # no tests

  pythonImportsCheck = [ "livekit" ];

  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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8007,6 +8007,8 @@ self: super: with self; {
  littleutils = callPackage ../development/python-modules/littleutils { };
  livekit-protocol = callPackage ../development/python-modules/livekit-protocol { };
  livelossplot = callPackage ../development/python-modules/livelossplot { };
  livereload = callPackage ../development/python-modules/livereload { };