nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 telegram-desktop,
5 withWebkit ? true,
6}:
7
8telegram-desktop.override {
9 pname = "64gram";
10 inherit withWebkit;
11 unwrapped = telegram-desktop.unwrapped.overrideAttrs (old: rec {
12 pname = "64gram-unwrapped";
13 version = "1.1.93";
14
15 src = fetchFromGitHub {
16 owner = "TDesktop-x64";
17 repo = "tdesktop";
18 tag = "v${version}";
19 hash = "sha256-AwzTmEaN6MsJNq1W+cyAbg+QkYrPaV2LXmt3NzKc/vQ=";
20 fetchSubmodules = true;
21 };
22
23 meta = {
24 description = "Unofficial Telegram Desktop providing Windows 64bit build and extra features";
25 license = lib.licenses.gpl3Only;
26 platforms = lib.platforms.all;
27 homepage = "https://github.com/TDesktop-x64/tdesktop";
28 changelog = "https://github.com/TDesktop-x64/tdesktop/releases/tag/v${version}";
29 maintainers = with lib.maintainers; [ clot27 ];
30 mainProgram = "Telegram";
31 };
32 });
33}