simplex-chat-desktop: enable on aarch64-linux (#472745)

This commit is contained in:
Aleksana
2025-12-22 02:43:27 +00:00
committed by GitHub
@@ -3,17 +3,29 @@
appimageTools,
fetchurl,
gitUpdater,
stdenv,
}:
let
pname = "simplex-chat-desktop";
version = "6.4.8";
src = fetchurl {
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage";
hash = "sha256-2XyA4UZ9EMzFnFNFFek1ka2MURBFFKyMolGMYZPD5Zw=";
sources = {
"aarch64-linux" = fetchurl {
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-aarch64.AppImage";
hash = "sha256-CvHwYKbieRYbBKUCoKAa11rTy5Opdfb7FKS4poantKs=";
};
"x86_64-linux" = fetchurl {
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage";
hash = "sha256-2XyA4UZ9EMzFnFNFFek1ka2MURBFFKyMolGMYZPD5Zw=";
};
};
inherit (stdenv.hostPlatform) system;
throwSystem = throw "simplex-chat-desktop: Unsupported system: ${system}";
src = sources.${system} or throwSystem;
appimageContents = appimageTools.extract {
inherit pname version src;
};
@@ -46,6 +58,9 @@ appimageTools.wrapType2 {
changelog = "https://github.com/simplex-chat/simplex-chat/releases/tag/v${version}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ terryg ];
platforms = [ "x86_64-linux" ];
platforms = [
"aarch64-linux"
"x86_64-linux"
];
};
}