nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 1.2 kB view raw
1{ 2 lib, 3 telegram-desktop, 4 fetchFromGitHub, 5 withWebkit ? true, 6}: 7 8telegram-desktop.override { 9 pname = "materialgram"; 10 inherit withWebkit; 11 unwrapped = telegram-desktop.unwrapped.overrideAttrs ( 12 finalAttrs: previousAttrs: { 13 pname = "materialgram-unwrapped"; 14 version = "6.4.0.1"; 15 16 src = fetchFromGitHub { 17 owner = "kukuruzka165"; 18 repo = "materialgram"; 19 hash = "sha256-aNgvuuowyhEYUm5ie2vxCsdpaDuuZ/3xZJqWA0bN5Lc="; 20 tag = "v${finalAttrs.version}"; 21 fetchSubmodules = true; 22 }; 23 24 meta = previousAttrs.meta // { 25 description = "Telegram Desktop fork with material icons and some improvements"; 26 longDescription = '' 27 Telegram Desktop fork with Material Design and other improvements, 28 which is based on the Telegram API and the MTProto secure protocol. 29 ''; 30 homepage = "https://kukuruzka165.github.io/materialgram/"; 31 changelog = "https://github.com/kukuruzka165/materialgram/releases/tag/v${finalAttrs.version}"; 32 maintainers = with lib.maintainers; [ 33 oluceps 34 aleksana 35 stellessia 36 ]; 37 mainProgram = "materialgram"; 38 }; 39 } 40 ); 41}