Merge pull request #105227 from Gerschtli/update/ts3

teamspeak_server: 3.12.1 -> 3.13.2
This commit is contained in:
Sandro 2020-11-28 18:22:37 +01:00 committed by GitHub
commit f9fe9f8205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,19 @@
{ stdenv, fetchurl, autoPatchelfHook, writeScript }:
{ stdenv, fetchurl, postgresql, autoPatchelfHook, writeScript }:
let
arch = if stdenv.is64bit then "amd64" else "x86";
in stdenv.mkDerivation rec {
pname = "teamspeak-server";
version = "3.12.1";
version = "3.13.2";
src = fetchurl {
url = "https://files.teamspeak-services.com/releases/server/${version}/teamspeak3-server_linux_${arch}-${version}.tar.bz2";
sha256 = if stdenv.is64bit
then "1dxbnk12ry6arn1p38hpv5jfak55pmfmxkkl7aihn3sp1aizpgyg"
else "0nfzx7pbzd95a7v08g29l84sc0lnv9fx8vz3mrmzhs0xqn9gxdkq";
then "1l9i9667wppwxbbnf6kxamnqlbxzkz9ync4rsypfla124b6cidpz"
else "0qhd05abiycsgc16r1p6y8bfdrl6zji21xaqwdizpr0jb01z335g";
};
buildInputs = [ stdenv.cc.cc ];
buildInputs = [ stdenv.cc.cc postgresql.lib ];
nativeBuildInputs = [ autoPatchelfHook ];