mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
39 lines
1004 B
Nix
39 lines
1004 B
Nix
{ lib, stdenv, fetchurl, dpkg, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jitsi-meet-prosody";
|
|
version = "1.0.7712";
|
|
src = fetchurl {
|
|
url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
|
|
sha256 = "MONg1CxLrfB+cmmXm4r3HqwF1on+vDZ0IODKSr7PsWo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|