anchor.diff:      dee ffmpeg openalSoft minizip libopus alsaLib libpulseaudio range-v3
       tl-expected hunspell
       tg_owt
  -    # TODO: Shouldn't be required:
  -    pcre xorg.libpthreadstubs xorg.libXdmcp util-linux libselinux libsepol epoxy at-spi2-core libXtst
  +    # Transitive dependencies:
  +    pcre xorg.libpthreadstubs xorg.libXdmcp util-linux libselinux libsepol epoxy
  +    at-spi2-core libXtst libthai libdatrie
     ];
   
     cmakeFlags = [
  
positive.code: 
  in mkDerivation rec {
    pname = "telegram-desktop";
    version = "2.5.9";
  
    # Telegram-Desktop with submodules
    src = fetchurl {
      url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
      sha256 = "1311dab9cil8hl1qlh01ynrczyjbldcsq1l6ibh818wb5lsgvvl2";
    };
  
    postPatch = ''
  
negative.code: , qtbase, qtimageformats, gtk3, libsForQt5, enchant2, lz4, xxHash
  , dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
  , tl-expected, hunspell
  # Transitive dependencies:
  , pcre, xorg, util-linux, libselinux, libsepol, epoxy
  , at-spi2-core, libXtst, libthai, libdatrie
  , xdg-utils
  }:
  
  