mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
jibri: init at 8.0-93-g51fe7a2
This commit is contained in:
parent
e65c70ac13
commit
5111ac5764
2 changed files with 43 additions and 0 deletions
41
pkgs/servers/jibri/default.nix
Normal file
41
pkgs/servers/jibri/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchurl, dpkg, jre_headless, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jibri";
|
||||
version = "8.0-93-g51fe7a2";
|
||||
src = fetchurl {
|
||||
url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
|
||||
sha256 = "1w78aa3rfdc4frb68ymykrbazxqrcv8mcdayqmcb72q1aa854c7j";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
nativeBuildInputs = [ dpkg makeWrapper ];
|
||||
unpackCmd = "dpkg-deb -x $src debcontents";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{bin,opt/jitsi/jibri,etc/jitsi/jibri}
|
||||
mv etc/jitsi/jibri/* $out/etc/jitsi/jibri/
|
||||
mv opt/jitsi/jibri/* $out/opt/jitsi/jibri/
|
||||
|
||||
makeWrapper ${jre_headless}/bin/java $out/bin/jibri --add-flags "-jar $out/opt/jitsi/jibri/jibri.jar"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "JItsi BRoadcasting Infrastructure";
|
||||
longDescription = ''
|
||||
Jibri provides services for recording or streaming a Jitsi Meet conference.
|
||||
It works by launching a Chrome instance rendered in a virtual framebuffer and capturing and
|
||||
encoding the output with ffmpeg. It is intended to be run on a separate machine (or a VM), with
|
||||
no other applications using the display or audio devices. Only one recording at a time is
|
||||
supported on a single jibri.
|
||||
'';
|
||||
homepage = "https://github.com/jitsi/jibri";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.jitsi.members;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -19828,6 +19828,8 @@ in
|
|||
|
||||
jetty = callPackage ../servers/http/jetty { };
|
||||
|
||||
jibri = callPackage ../servers/jibri { };
|
||||
|
||||
jicofo = callPackage ../servers/jicofo { };
|
||||
|
||||
jitsi-meet = callPackage ../servers/web-apps/jitsi-meet { };
|
||||
|
|
Loading…
Reference in a new issue