python3Packages.livekit-api: init at 1.0.2
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pyjwt,
|
||||
aiohttp,
|
||||
protobuf,
|
||||
livekit-protocol,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "livekit-api";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "livekit";
|
||||
repo = "python-sdks";
|
||||
tag = "api-v${version}";
|
||||
hash = "sha256-QFUCMqRshEid08IbNjyvJvJSVhYfVJRjvXjSTlNlzlU=";
|
||||
};
|
||||
|
||||
pypaBuildFlags = [ "livekit-api" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pyjwt
|
||||
aiohttp
|
||||
protobuf
|
||||
livekit-protocol
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [ "types-protobuf" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "livekit-api/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;
|
||||
};
|
||||
}
|
||||
@@ -8007,6 +8007,8 @@ self: super: with self; {
|
||||
|
||||
littleutils = callPackage ../development/python-modules/littleutils { };
|
||||
|
||||
livekit-api = callPackage ../development/python-modules/livekit-api { };
|
||||
|
||||
livekit-protocol = callPackage ../development/python-modules/livekit-protocol { };
|
||||
|
||||
livelossplot = callPackage ../development/python-modules/livelossplot { };
|
||||
|
||||
Reference in New Issue
Block a user