python3Packages.livekit-api: init at 1.0.2

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