Merge pull request #318074 from drupol/simplex-chat-desktop/bump/5-8-0

simplex-chat-desktop: 5.7.5 -> 5.8.0
This commit is contained in:
Pol Dellaiera 2024-06-07 23:45:11 +02:00 committed by GitHub
commit dc231ceabb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,11 +6,11 @@
let
pname = "simplex-chat-desktop";
version = "5.7.5";
version = "5.8.0";
src = fetchurl {
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage";
hash = "sha256-riJHJbl19UHJskQjWxSJUNhDEBE7FSoGE2lQecs/qvM=";
hash = "sha256-EYoUsxJgG9xqXtjys0InJJaqvX1XXcef9PYQ3nZPNuo=";
};
appimageContents = appimageTools.extract {
@ -26,10 +26,17 @@ in appimageTools.wrapType2 {
extraInstallCommands = ''
install --mode=444 -D ${appimageContents}/chat.simplex.app.desktop --target-directory=$out/share/applications
substituteInPlace $out/share/applications/chat.simplex.app.desktop \
--replace 'Exec=simplex' 'Exec=${pname}'
--replace-fail 'Exec=simplex' 'Exec=simplex-chat-desktop'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/simplex-chat/simplex-chat";
rev-prefix = "v";
# skip tags that does not correspond to official releases, like vX.Y.Z-(beta,fdroid,armv7a).
ignoredVersions = "-";
};
meta = with lib; {
description = "Desktop application for SimpleX Chat";
mainProgram = "simplex-chat-desktop";
@ -39,11 +46,4 @@ in appimageTools.wrapType2 {
maintainers = with maintainers; [ yuu ];
platforms = [ "x86_64-linux" ];
};
passthru.updateScript = gitUpdater {
url = "https://github.com/simplex-chat/simplex-chat";
rev-prefix = "v";
# skip tags that does not correspond to official releases, like vX.Y.Z-(beta,fdroid,armv7a).
ignoredVersions = "-";
};
}