anchor.diff: -{ mkDerivation, lib, fetchFromGitHub, fetchsvn
  +{ mkDerivation, lib, fetchFromGitHub, fetchsvn, fetchpatch
   , pkgconfig, pythonPackages, cmake, wrapGAppsHook, wrapQtAppsHook, gcc8
   , qtbase, qtimageformats, gtk3, libappindicator-gtk3, libnotify, xdg_utils
   , dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
  
positive.code: 
  mkDerivation rec {
    name = "telegram-desktop-${version}";
    version = "1.7.14";
  
    # Telegram-Desktop with submodules
    src = fetchFromGitHub {
      owner = "telegramdesktop";
      repo = "tdesktop";
      rev = "v${version}";
      sha256 = "1bw804a9kffmn23wv0570wihbvfm7jy9cqmxlv196f4j7bw7zkv3";
      fetchSubmodules = true;
    };
  
  
negative.code:   CPPFLAGS = NIX_CFLAGS_COMPILE;
  
    preConfigure = ''
      # Patches to revert:
      patch -R -Np1 -i "${archPatches}/demibold.patch"
      patch -R -Np1 -i "${privateHeadersPatch}"
  
      # Patches to apply:
      pushd "Telegram/ThirdParty/libtgvoip"
      patch -Np1 -i "${archPatches}/libtgvoip.patch"
      popd
  