about summary refs log tree commit diff
path: root/pkgs/by-name/si/simplex-chat-desktop/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/si/simplex-chat-desktop/package.nix')
-rw-r--r--pkgs/by-name/si/simplex-chat-desktop/package.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/by-name/si/simplex-chat-desktop/package.nix b/pkgs/by-name/si/simplex-chat-desktop/package.nix
index f057a71e3ff0e..d262dbd5a50d2 100644
--- a/pkgs/by-name/si/simplex-chat-desktop/package.nix
+++ b/pkgs/by-name/si/simplex-chat-desktop/package.nix
@@ -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 = "-";
-  };
 }