45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
telegram-desktop,
|
|
withWebkit ? true,
|
|
}:
|
|
|
|
telegram-desktop.override {
|
|
pname = "ayugram-desktop";
|
|
inherit withWebkit;
|
|
unwrapped = telegram-desktop.unwrapped.overrideAttrs (
|
|
finalAttrs: previousAttrs: {
|
|
pname = "ayugram-desktop-unwrapped";
|
|
version = "5.16.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AyuGram";
|
|
repo = "AyuGramDesktop";
|
|
rev = "aafdac6da465e6498e39e1b55566fc8fe2402843";
|
|
hash = "sha256-GNFkGw/CxtbeoEMBjExNudBcKFwlfXee5VVnXa4wGko=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = previousAttrs.meta // {
|
|
mainProgram = "AyuGram";
|
|
description = "Desktop Telegram client with good customization and Ghost mode";
|
|
longDescription = ''
|
|
The best that could be in the world of Telegram clients.
|
|
AyuGram is a Telegram client with a very pleasant features.
|
|
'';
|
|
homepage = "https://github.com/AyuGram/AyuGramDesktop";
|
|
changelog = "https://github.com/AyuGram/AyuGramDesktop/releases/tag/v${finalAttrs.version}";
|
|
maintainers = with lib.maintainers; [
|
|
kaeeraa
|
|
s0me1newithhand7s
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|