3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #89424 from prusnak/jitsi-meet-electron

jitsi-meet-electron: 2.0.2 -> 2.2.0
This commit is contained in:
Marek Mahut 2020-06-07 18:58:16 +02:00 committed by GitHub
commit e9c10aa081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ]}"
'';