mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
zoho-mail-desktop: init at 1.7.1 (#462953)
This commit is contained in:
commit
c89372cb69
2 changed files with 50 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
44
pkgs/by-name/zo/zoho-mail-desktop/package.nix
Normal file
44
pkgs/by-name/zo/zoho-mail-desktop/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue