Merge pull request #271503 from mgdelacroix/add-livekit-pkg
livekit: init at 1.5.1
This commit is contained in:
commit
a5cb4327ed
2 changed files with 60 additions and 0 deletions
28
pkgs/by-name/li/livekit-cli/package.nix
Normal file
28
pkgs/by-name/li/livekit-cli/package.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "livekit-cli";
|
||||||
|
version = "1.3.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "livekit";
|
||||||
|
repo = "livekit-cli";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-pzVzfs0bwG9n7fa0ouQiCFrbXAqkfovEIjVmrHFdqtI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-pM5DeaukY6x4RDryLvSEQASSwtOaLiiLObjhdWBYd8k=";
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
32
pkgs/by-name/li/livekit/package.nix
Normal file
32
pkgs/by-name/li/livekit/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "livekit";
|
||||||
|
version = "1.5.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "livekit";
|
||||||
|
repo = "livekit";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-3KRES/2mGO6b1ZZEGx29Yu5wgEG4NOJ7/J0xPvQiNWk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-5wByIkMs3321u4/2vPpsZ/L5zlcgrZo0b+NjeMR1RWE=";
|
||||||
|
|
||||||
|
subPackages = [ "cmd/server" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/bin/server $out/bin/livekit-server
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "End-to-end stack for WebRTC. SFU media server and SDKs";
|
||||||
|
homepage = "https://livekit.io/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ mgdelacroix ];
|
||||||
|
mainProgram = "livekit-server";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue