98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
32 lines
715 B
Nix
32 lines
715 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "livekit";
|
|
version = "1.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "livekit";
|
|
repo = "livekit";
|
|
rev = "v${version}";
|
|
hash = "sha256-fJpW85bYV6Jl7EoyXsJdr4hUqBntMzBnJfTO316/En0=";
|
|
};
|
|
|
|
vendorHash = "sha256-V8kHIzIZj07B1N2KBGICIFF7aRFl2oynMIZUPeotCs8=";
|
|
|
|
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";
|
|
};
|
|
}
|