10 telegram-desktop.override {
13 unwrapped = telegram-desktop.unwrapped.overrideAttrs (old: rec {
14 pname = "64gram-unwrapped";
17 src = fetchFromGitHub {
18 owner = "TDesktop-x64";
21 hash = "sha256-bDe4tmJRWnussa5QrBh2oStvIF7R5/nbPfljb3us3nk=";
22 fetchSubmodules = true;
25 patches = (old.patches or [ ]) ++ [
27 url = "https://github.com/TDesktop-x64/tdesktop/commit/c996ccc1561aed089c8b596f6ab3844335bbf1df.patch";
29 hash = "sha256-Hz7BXl5z4owe31l9Je3QOXT8FAyKcbsXsKjGfCmXhzE=";
33 cmakeFlags = (old.cmakeFlags or [ ]) ++ [
34 (lib.cmakeBool "DESKTOP_APP_DISABLE_AUTOUPDATE" true)
35 (lib.cmakeBool "disable_autoupdate" true)
39 description = "Unofficial Telegram Desktop providing Windows 64bit build and extra features";
40 license = lib.licenses.gpl3Only;
41 platforms = lib.platforms.all;
42 homepage = "https://github.com/TDesktop-x64/tdesktop";
43 changelog = "https://github.com/TDesktop-x64/tdesktop/releases/tag/v${version}";
44 maintainers = with lib.maintainers; [ clot27 ];
45 mainProgram = if stdenv.hostPlatform.isLinux then "telegram-desktop" else "Telegram";