morgen: 2.5.16 -> 2.6.4, update electron version

This commit is contained in:
P. R. d. O 2023-02-01 07:25:59 -06:00
parent 1efc432d4f
commit 637b3cc03a
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
2 changed files with 4 additions and 7 deletions

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "morgen";
version = "2.5.16";
version = "2.6.4";
src = fetchurl {
url = "https://download.todesktop.com/210203cqcj00tw1/morgen-${version}.deb";
sha256 = "sha256-U77yOgQNSj1p3WZbwkyq0Ui2UrXeuAv5sD7L+ZI2x24=";
sha256 = "sha256-2Cze8R22Wrvp+FJq/7Kp36i7Areo5e9fdBo3DQ+rvZY=";
};
nativeBuildInputs = [
@ -19,9 +19,6 @@ stdenv.mkDerivation rec {
buildInputs = [ alsa-lib gtk3 libxshmfence mesa nss ];
dontBuild = true;
dontConfigure = true;
unpackCmd = ''
dpkg-deb -x ${src} ./morgen-${pname}
'';
@ -37,7 +34,7 @@ stdenv.mkDerivation rec {
# 2. Fixes startup script
substituteInPlace $TMP/work/dist/main.js \
--replace "process.resourcesPath,\"todesktop-runtime-config.json" "\"$out/opt/Morgen/resources/todesktop-runtime-config.json" \
--replace "Exec=\"+process.execPath+\"" "Exec=$out/bin/morgen"
--replace "Exec=\".concat(process.execPath," "Exec=\".concat(\"$out/bin/morgen\","
asar pack --unpack='{*.node,*.ftz,rect-overlay}' "$TMP/work" $out/opt/Morgen/resources/app.asar
substituteInPlace $out/share/applications/morgen.desktop \

View File

@ -9810,7 +9810,7 @@ with pkgs;
mole = callPackage ../tools/networking/mole { };
morgen = callPackage ../applications/office/morgen {
electron = electron_15;
electron = electron_22;
};
mosh = callPackage ../tools/networking/mosh { };