summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/jitsi-meet-prosody
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2021-06-18 10:05:54 +0530
committerMilan <milan@petabyte.dev>2021-06-20 12:36:51 +0200
commit5e49c97d29455e39ba820228dc7ff7b034ecc6fb (patch)
tree1a4a027e8ffeeb419e9e0acf4ec853f2c3797108 /pkgs/misc/jitsi-meet-prosody
parent34b9ba2e6161e68febe4312c96c089d707472d5e (diff)
jitsi-meet-prosody: init at 1.0.5056
Diffstat (limited to 'pkgs/misc/jitsi-meet-prosody')
-rw-r--r--pkgs/misc/jitsi-meet-prosody/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/misc/jitsi-meet-prosody/default.nix b/pkgs/misc/jitsi-meet-prosody/default.nix
new file mode 100644
index 000000000000..0ab939af0f78
--- /dev/null
+++ b/pkgs/misc/jitsi-meet-prosody/default.nix
@@ -0,0 +1,36 @@
+{ lib, stdenv, fetchurl, dpkg, nixosTests }:
+
+stdenv.mkDerivation rec {
+ pname = "jitsi-meet-prosody";
+ version = "1.0.5056";
+ src = fetchurl {
+ url = "https://download.jitsi.org/stable/${pname}_${version}-1_all.deb";
+ sha256 = "06qxa9h2ry92xrk2jklp76nv3sl8nvykdvsqmhn33lz6q6vmw2xr";
+ };
+
+ 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;
+ };
+
+ 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;
+ };
+}