2024-06-21 14:18:48 +00:00
|
|
|
{
|
|
|
|
lib,
|
2024-11-03 16:59:55 -05:00
|
|
|
telegram-desktop,
|
2024-06-21 14:18:48 +00:00
|
|
|
fetchFromGitHub,
|
2024-11-03 20:37:07 -05:00
|
|
|
withWebkit ? true,
|
2024-06-21 14:18:48 +00:00
|
|
|
}:
|
|
|
|
|
2024-11-03 16:59:55 -05:00
|
|
|
telegram-desktop.override {
|
|
|
|
pname = "materialgram";
|
2024-11-03 20:37:07 -05:00
|
|
|
inherit withWebkit;
|
2024-11-03 16:59:55 -05:00
|
|
|
unwrapped = telegram-desktop.unwrapped.overrideAttrs (
|
|
|
|
finalAttrs: previousAttrs: {
|
|
|
|
pname = "materialgram-unwrapped";
|
2025-03-15 15:03:44 +02:00
|
|
|
version = "5.12.5.1";
|
2024-11-03 16:59:55 -05:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kukuruzka165";
|
|
|
|
repo = "materialgram";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2025-03-15 15:03:44 +02:00
|
|
|
hash = "sha256-l6pVqmz8rfNhta2nCJISLl/nZqoSDBD3QrskmmhoQM4=";
|
2024-11-03 16:59:55 -05:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2024-06-21 14:18:48 +00:00
|
|
|
|
2024-11-03 16:59:55 -05:00
|
|
|
meta = previousAttrs.meta // {
|
|
|
|
description = "Telegram Desktop fork with material icons and some improvements";
|
|
|
|
longDescription = ''
|
|
|
|
Telegram Desktop fork with Material Design and other improvements,
|
|
|
|
which is based on the Telegram API and the MTProto secure protocol.
|
|
|
|
'';
|
|
|
|
homepage = "https://kukuruzka165.github.io/materialgram/";
|
|
|
|
changelog = "https://github.com/kukuruzka165/materialgram/releases/tag/v${finalAttrs.version}";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
oluceps
|
|
|
|
aleksana
|
2024-12-24 14:42:16 +02:00
|
|
|
stellessia
|
2024-11-03 16:59:55 -05:00
|
|
|
];
|
|
|
|
mainProgram = "materialgram";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|