tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.livekit-api: init at 1.0.2
soyouzpanda
9 months ago
018fd627
5ea7c0bd
+55
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
livekit-api
default.nix
top-level
python-packages.nix
+53
pkgs/development/python-modules/livekit-api/default.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
setuptools,
6
6
+
pyjwt,
7
7
+
aiohttp,
8
8
+
protobuf,
9
9
+
livekit-protocol,
10
10
+
pytestCheckHook,
11
11
+
}:
12
12
+
13
13
+
buildPythonPackage rec {
14
14
+
pname = "livekit-api";
15
15
+
version = "1.0.2";
16
16
+
pyproject = true;
17
17
+
18
18
+
src = fetchFromGitHub {
19
19
+
owner = "livekit";
20
20
+
repo = "python-sdks";
21
21
+
tag = "api-v${version}";
22
22
+
hash = "sha256-QFUCMqRshEid08IbNjyvJvJSVhYfVJRjvXjSTlNlzlU=";
23
23
+
};
24
24
+
25
25
+
pypaBuildFlags = [ "livekit-api" ];
26
26
+
27
27
+
build-system = [ setuptools ];
28
28
+
29
29
+
dependencies = [
30
30
+
pyjwt
31
31
+
aiohttp
32
32
+
protobuf
33
33
+
livekit-protocol
34
34
+
];
35
35
+
36
36
+
pythonRemoveDeps = [ "types-protobuf" ];
37
37
+
38
38
+
nativeCheckInputs = [
39
39
+
pytestCheckHook
40
40
+
];
41
41
+
42
42
+
pytestFlagsArray = [ "livekit-api/tests" ];
43
43
+
44
44
+
pythonImportsCheck = [ "livekit" ];
45
45
+
46
46
+
meta = {
47
47
+
description = "LiveKit real-time and server SDKs for Python";
48
48
+
homepage = "https://github.com/livekit/python-sdks/";
49
49
+
license = lib.licenses.asl20;
50
50
+
maintainers = with lib.maintainers; [ soyouzpanda ];
51
51
+
platforms = lib.platforms.all;
52
52
+
};
53
53
+
}
+2
pkgs/top-level/python-packages.nix
···
8007
8007
8008
8008
littleutils = callPackage ../development/python-modules/littleutils { };
8009
8009
8010
8010
+
livekit-api = callPackage ../development/python-modules/livekit-api { };
8011
8011
+
8010
8012
livekit-protocol = callPackage ../development/python-modules/livekit-protocol { };
8011
8013
8012
8014
livelossplot = callPackage ../development/python-modules/livelossplot { };