livekit-ingress: init at 1.4.3

K900 25823769 767223d2

+58
+58
pkgs/by-name/li/livekit-ingress/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + pkg-config, 6 + makeWrapper, 7 + glib, 8 + gst_all_1, 9 + }: 10 + 11 + buildGoModule rec { 12 + pname = "livekit-ingress"; 13 + version = "1.4.3"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "livekit"; 17 + repo = "ingress"; 18 + tag = "v${version}"; 19 + hash = "sha256-gt1oIAKEBwQWqDCLSsRgoe7oIk5jDNReN+dFYUNnRUc="; 20 + }; 21 + 22 + vendorHash = "sha256-fttI+xNzHiDWKGkl20oGJOcWffElmmqNd7gbb5FiQZc="; 23 + 24 + subPackages = [ "cmd/server" ]; 25 + 26 + postInstall = '' 27 + mv $out/bin/server $out/bin/ingress 28 + wrapProgram $out/bin/ingress --suffix GST_PLUGIN_SYSTEM_PATH_1_0 ":" $GST_PLUGIN_SYSTEM_PATH_1_0 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + pkg-config 33 + makeWrapper 34 + ]; 35 + 36 + buildInputs = with gst_all_1; [ 37 + glib 38 + gstreamer 39 + gst-plugins-base 40 + gst-plugins-good 41 + gst-plugins-bad 42 + gst-plugins-ugly 43 + gst-libav 44 + ]; 45 + 46 + # there are no actual tests, and we don't need to spend 47 + # another 5 minutes of cgo to figure that out 48 + doCheck = false; 49 + 50 + meta = { 51 + description = "Ingest streams (RTMP/WHIP) or files (HLS, MP4) to LiveKit WebRTC"; 52 + changelog = "https://github.com/livekit/ingress/releases/tag/${src.tag}"; 53 + homepage = "https://github.com/livekit/ingress"; 54 + license = lib.licenses.asl20; 55 + maintainers = with lib.maintainers; [ k900 ]; 56 + mainProgram = "ingress"; 57 + }; 58 + }