From 0e3b14bf51fad124ddfdad20f8091084bce3de34 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 14 Jun 2023 21:23:25 +0800 Subject: telegram-desktop: 4.8.3 -> 4.8.4 Changelog: https://github.com/telegramdesktop/tdesktop/releases/tag/v4.8.4 --- .../telegram/telegram-desktop/default.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'pkgs/applications/networking/instant-messengers/telegram') diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix index 7f1d7f30a4a..4de6ce1bce4 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix @@ -76,14 +76,14 @@ let in stdenv.mkDerivation rec { pname = "telegram-desktop"; - version = "4.8.3"; + version = "4.8.4"; src = fetchFromGitHub { owner = "telegramdesktop"; repo = "tdesktop"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-fvg9SFHRHeJVogYQ+vyVqGyLGnOjM5Osi3H0SNGe9fY="; + hash = "sha256-DRVFngQ4geJx2/7pT1VJzkcBZnVGgDvcGGUr9r38gSU="; }; patches = [ @@ -94,15 +94,6 @@ stdenv.mkDerivation rec { url = "https://salsa.debian.org/debian/telegram-desktop/-/raw/09b363ed5a4fcd8ecc3282b9bfede5fbb83f97ef/debian/patches/Disable-register-custom-scheme.patch"; hash = "sha256-B8X5lnSpwwdp1HlvyXJWQPybEN+plOwimdV5gW6aY2Y="; }) - # Bring custom xdg-activation implementation back - # Fixes https://github.com/telegramdesktop/tdesktop/issues/2635: TG desktop doen't open links - # https://github.com/desktop-app/lib_base/pull/180 - (fetchpatch { - url = "https://github.com/desktop-app/lib_base/commit/6041498fbafcd0a22df88b7973d9e8f9bdf16958.patch"; - extraPrefix = "Telegram/lib_base/"; - stripLen = 1; - hash = "sha256-9IV1T/tjN2VA7wcpbt2GRpOMC76yOzRlGWuIAa8HTX0="; - }) ]; postPatch = '' @@ -114,8 +105,6 @@ stdenv.mkDerivation rec { --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' substituteInPlace Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk_library.cpp \ --replace '"libwebkitgtk-6.0.so.4"' '"${webkitgtk_6_0}/lib/libwebkitgtk-6.0.so.4"' - substituteInPlace cmake/external/glib/CMakeLists.txt \ - --replace 'add_subdirectory(cppgir)' 'add_subdirectory(cppgir EXCLUDE_FROM_ALL)' ''; # We want to run wrapProgram manually (with additional parameters) -- cgit 1.4.1