1 { lib, stdenv, fetchurl, dpkg, jre_headless, nixosTests }:
7 url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
8 sha256 = "CFt/08RoJEOQcB9v9jV9zh54oYroSqd+RsE8YcMmGg8=";
12 inherit pname version src;
16 unpackCmd = "${dpkg}/bin/dpkg-deb -x $src debcontents";
20 substituteInPlace usr/share/jicofo/jicofo.sh \
21 --replace "exec java" "exec ${jre_headless}/bin/java"
23 mkdir -p $out/{share,bin}
24 mv usr/share/jicofo $out/share/
26 cp ${./logging.properties-journal} $out/etc/jitsi/jicofo/logging.properties-journal
27 ln -s $out/share/jicofo/jicofo.sh $out/bin/jicofo
32 single-node-smoke-test = nixosTests.jitsi-meet;
35 passthru.updateScript = ./update.sh;
38 description = "Server side focus component used in Jitsi Meet conferences";
39 mainProgram = "jicofo";
41 JItsi COnference FOcus is a server side focus component used in Jitsi Meet conferences.
43 homepage = "https://github.com/jitsi/jicofo";
44 license = licenses.asl20;
45 maintainers = teams.jitsi.members;
46 platforms = platforms.linux;