mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
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:
commit
dc231ceabb
@ -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 = "-";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user