jitsi-meet-electron: 2.0.2 -> 2.2.0

This commit is contained in:
Pavol Rusnak 2020-06-03 18:44:25 +02:00
parent 5f0bd4d70f
commit 759a3a2658
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -2,17 +2,20 @@
, fetchurl
, appimageTools
, makeWrapper
, electron_8
, electron_9
}:
let
electron = electron_9;
in
stdenv.mkDerivation rec {
pname = "jitsi-meet-electron";
version = "2.0.2";
version = "2.2.0";
src = fetchurl {
url = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v${version}/jitsi-meet-x86_64.AppImage";
sha256 = "04y3qn2clvsfiyp9s6ib09mfxspv3kpr9248sda8s09n1cm0jpps";
name="${pname}-${version}.AppImage";
sha256 = "0gqyqjj69x1gxwj4zhwazddnj5xzy598xqz7vwkpdm1ldzna2iyj";
name = "${pname}-${version}.AppImage";
};
appimageContents = appimageTools.extractType2 {
@ -42,7 +45,7 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
makeWrapper ${electron_8}/bin/electron $out/bin/${pname} \
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}"
'';