Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
telegram-desktop,
|
|
fetchFromGitHub,
|
|
withWebkit ? true,
|
|
}:
|
|
|
|
telegram-desktop.override {
|
|
pname = "materialgram";
|
|
inherit withWebkit;
|
|
unwrapped = telegram-desktop.unwrapped.overrideAttrs (
|
|
finalAttrs: previousAttrs: {
|
|
pname = "materialgram-unwrapped";
|
|
version = "5.7.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kukuruzka165";
|
|
repo = "materialgram";
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
|
hash = "sha256-YdLUwXMATla64KSYnXLXwLl0KktNoB/IuHIIY44R1VY=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
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
|
|
];
|
|
mainProgram = "materialgram";
|
|
};
|
|
}
|
|
);
|
|
}
|