From fa3a54cd07014a17df3e24946c5138d5501a416c Mon Sep 17 00:00:00 2001 From: Philipp Riegger Date: Tue, 1 Oct 2024 19:15:34 +0200 Subject: [PATCH] teamspeak_client: update pluginsdk The old url is not reachable anymore. --- .../instant-messengers/teamspeak/client.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix index edbdce0d8f6c..6aa7e45ac117 100644 --- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix +++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + fetchzip, makeWrapper, makeDesktopItem, zlib, @@ -22,7 +23,6 @@ libredirect, quazip, which, - unzip, perl, llvmPackages, }: @@ -83,15 +83,14 @@ stdenv.mkDerivation rec { }; # grab the plugin sdk for the desktop icon - pluginsdk = fetchurl { - url = "http://dl.4players.de/ts/client/pluginsdk/pluginsdk_3.1.1.1.zip"; - sha256 = "1bywmdj54glzd0kffvr27r84n4dsd0pskkbmh59mllbxvj0qwy7f"; + pluginsdk = fetchzip { + url = "https://files.teamspeak-services.com/releases/sdk/3.3.1/ts_sdk_3.3.1.zip"; + hash = "sha256-wx4pBZHpFPoNvEe4xYE80KnXGVda9XcX35ho4R8QxrQ="; }; nativeBuildInputs = [ makeWrapper which - unzip perl # Installer script needs `shasum` ]; @@ -129,8 +128,7 @@ stdenv.mkDerivation rec { # Make a desktop item mkdir -p $out/share/applications/ $out/share/icons/hicolor/64x64/apps/ - unzip ${pluginsdk} - cp pluginsdk/docs/client_html/images/logo.png $out/share/icons/hicolor/64x64/apps/teamspeak.png + cp ${pluginsdk}/doc/_static/logo.png $out/share/icons/hicolor/64x64/apps/teamspeak.png cp ${desktopItem}/share/applications/* $out/share/applications/ # Make a symlink to the binary from bin.