blob: 1dc5de3b1cd2af1cbdfe26bd881ae8e20dfe742b (
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
33
34
35
36
37
38
|
{ lib, stdenv, fetchurl, dpkg, nixosTests }:
stdenv.mkDerivation rec {
pname = "jitsi-meet-prosody";
version = "1.0.8043";
src = fetchurl {
url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
sha256 = "aCrcsmEH3t294G2f5VzhdagzAFnWb5x1jn3htxlSXdE=";
};
dontBuild = true;
unpackCmd = "${dpkg}/bin/dpkg-deb -x $src debcontents";
installPhase = ''
runHook preInstall
mkdir -p $out/share
mv usr/share/jitsi-meet/prosody-plugins $out/share/
runHook postInstall
'';
passthru.tests = {
single-node-smoke-test = nixosTests.jitsi-meet;
};
passthru.updateScript = ./update.sh;
meta = with lib; {
description = "Prosody configuration for Jitsi Meet";
longDescription = ''
This package contains configuration for Prosody to be used with Jitsi Meet.
'';
homepage = "https://github.com/jitsi/jitsi-meet/";
license = licenses.asl20;
maintainers = teams.jitsi.members;
platforms = platforms.linux;
};
}
|