blob: 54cdfbcf25f8b4e1de4ab47fa5556bc8dff38879 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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";
};
}
|