blob: e65c0962917de22fc3b50d0d7fd35ac8fb78cd5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
protobuf,
gitUpdater,
}:
buildPythonPackage rec {
pname = "livekit-protocol";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "livekit";
repo = "python-sdks";
tag = "protocol-v${version}";
hash = "sha256-u89KM1Lio1gELIzwhmBJFCf1c29cfGu0WsMf8Vvsi8M=";
};
pypaBuildFlags = [ "livekit-protocol" ];
build-system = [ setuptools ];
dependencies = [
protobuf
];
pythonRemoveDeps = [ "types-protobuf" ];
doCheck = false; # no tests
pythonImportsCheck = [ "livekit" ];
passthru.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;
};
}
|