Merge pull request #296192 from Antiarchitect/update-mattermost-desktop
mattermost-desktop 5.6.0 -> 5.7.0
This commit is contained in:
commit
f85d01ace9
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue