simplex-chat-desktop: 5.7.5 -> 5.8.0

This commit is contained in:
Pol Dellaiera 2024-06-07 21:32:49 +02:00
parent da7f6b9bdf
commit 3a7025493d
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

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 = "-";
};
}