Merge pull request #296192 from Antiarchitect/update-mattermost-desktop

mattermost-desktop 5.6.0 -> 5.7.0
This commit is contained in:
Pol Dellaiera 2024-03-15 22:06:41 +01:00 committed by GitHub
commit f85d01ace9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,24 +1,24 @@
{ lib
, stdenv
, fetchurl
, electron_27
, electron_28
, makeWrapper
}:
let
pname = "mattermost-desktop";
version = "5.6.0";
version = "5.7.0";
srcs = {
"x86_64-linux" = {
url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-x64.tar.gz";
hash = "sha256-KUF/zH18X+RS8AICBv53JTBpcaokzo92psyoQNmLF/Q=";
hash = "sha256-1xfU9+VzjhSVWsP1AYizphhQ2010GbQBgQ4dxvY3TBU=";
};
"aarch64-linux" = {
url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-arm64.tar.gz";
hash = "sha256-Zl5PalAles39qSMtt1cytfu4Mheud4+8TTkt7Ohdf/o=";
hash = "sha256-RrH+R9IuokKK+zfmCmOt38hD1HvWJbKqmxTFhQ3RcqQ=";
};
};
@ -52,7 +52,7 @@ stdenv.mkDerivation {
substituteInPlace $out/share/applications/Mattermost.desktop \
--replace /share/mattermost-desktop/mattermost-desktop /bin/mattermost-desktop
makeWrapper '${lib.getExe electron_27}' $out/bin/${pname} \
makeWrapper '${lib.getExe electron_28}' $out/bin/${pname} \
--add-flags $out/share/${pname}/app.asar
runHook postInstall