2024-01-02 11:29:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "livekit-cli";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.4.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "livekit";
|
|
|
|
repo = "livekit-cli";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-/H7Xn/nUumKf62qV6kt2PBbvIt67IwA1dt+hj8mbE30=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-yO2Qr6H5sZGLMHiue5IVHkF1IDsZZh48s6KNpXR+nzA=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/livekit-cli" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Command line interface to LiveKit";
|
|
|
|
homepage = "https://livekit.io/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ mgdelacroix ];
|
|
|
|
mainProgram = "livekit-cli";
|
|
|
|
};
|
|
|
|
}
|