diff options
| author | Philipp Riegger <philipp@riegger.name> | 2024-10-01 19:15:34 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-10-01 21:00:58 +0000 |
| commit | 61d217c34b5f912889dfa1d338a5e6a678246870 (patch) | |
| tree | 60b89a62ee33f9376e3f1934ad8a722a2e4a3449 | |
| parent | teamspeak_client: format with nixfmt (diff) | |
| download | nixpkgs-61d217c34b5f912889dfa1d338a5e6a678246870.tar.gz | |
teamspeak_client: update pluginsdk
The old url is not reachable anymore.
(cherry picked from commit fa3a54cd07014a17df3e24946c5138d5501a416c)
| -rw-r--r-- | pkgs/applications/networking/instant-messengers/teamspeak/client.nix | 12 |
1 files 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 3e8368ea2b8f..84266c6c23ad 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. |
