1 { lib, stdenv, fetchurl, dpkg, jdk11, nixosTests }:
5 version = "1.1-311-g3de47d0";
7 url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
8 hash = "sha256-pwUgkId7AHFjbqYo02fBgm0gsiMqEz+wvwkdy6sgTD0=";
12 inherit pname version src;
14 nativeBuildInputs = [ dpkg ];
18 unpackCmd = "dpkg-deb -x $src debcontents";
22 substituteInPlace usr/share/${pname}/${pname}.sh \
23 --replace "exec java" "exec ${jdk11}/bin/java"
25 mkdir -p $out/{share,bin}
26 mv usr/share/${pname} $out/share/
28 ln -s $out/share/${pname}/${pname}.sh $out/bin/${pname}
33 single-node-smoke-test = nixosTests.jitsi-meet;
37 description = "Server-side application that allows regular SIP clients to join Jitsi Meet conferences";
38 mainProgram = "jigasi";
40 Jitsi Gateway to SIP: a server-side application that allows regular SIP clients to join Jitsi Meet conferences hosted by Jitsi Videobridge.
42 homepage = "https://github.com/jitsi/jigasi";
43 license = licenses.asl20;
44 maintainers = teams.jitsi.members;
45 platforms = platforms.linux;