2021-06-18 06:35:54 +02:00
|
|
|
{ lib, stdenv, fetchurl, dpkg, nixosTests }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jitsi-meet-prosody";
|
2024-01-27 15:35:56 +01:00
|
|
|
version = "1.0.7762";
|
2021-06-18 06:35:54 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
|
2024-01-27 15:35:56 +01:00
|
|
|
sha256 = "AbIr+nJEccZFWDbuo+VeTEpLkreOBzKkrJFZFvY1ppI=";
|
2021-06-18 06:35:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2021-09-09 21:51:57 +02:00
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
|
2021-06-18 06:35:54 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|