zoho-mail-desktop: init at 1.7.1 (#462953)

This commit is contained in:
Aleksana 2025-11-27 02:07:18 +00:00 committed by GitHub
commit c89372cb69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 0 deletions

View file

@ -22528,6 +22528,12 @@
githubId = 17805516;
name = "Rohan Rao";
};
rohi-devs = {
email = "rohi.devs@gmail.com";
github = "rohi-devs";
githubId = 129837916;
name = "Rohith S";
};
rolfschr = {
email = "rolf.schr@posteo.de";
github = "rolfschr";

View file

@ -0,0 +1,44 @@
{
lib,
appimageTools,
fetchurl,
}:
let
pname = "zoho-mail-desktop";
version = "1.7.1";
src = fetchurl {
url = "https://downloads.zohocdn.com/zmail-desktop/linux/zoho-mail-desktop-lite-x64-v${version}.AppImage";
hash = "sha256-KLDJl91vfTdDtUQ5maDuCBU1HJQf4V0VEnplAc4ytZM=";
};
appimageContents = appimageTools.extract {
inherit pname version src;
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${appimageContents}/zoho-mail-desktop.desktop \
$out/share/applications/zoho-mail-desktop.desktop
install -Dm444 ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/zoho-mail-desktop.png \
$out/share/icons/hicolor/1024x1024/apps/zoho-mail-desktop.png
substituteInPlace $out/share/applications/zoho-mail-desktop.desktop \
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';
meta = {
description = "Desktop client for Zoho Mail";
homepage = "https://www.zoho.com/mail/desktop/";
license = lib.licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ rohi-devs ];
mainProgram = "zoho-mail-desktop";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
}