teamspeak: remove unnecessary makeWrapper

This commit is contained in:
Jörg Thalheim 2019-07-21 15:21:07 +01:00
parent f75fdd5c77
commit 92c4bc0108
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -1,13 +1,10 @@
{ stdenv, fetchurl, makeWrapper, autoPatchelfHook }: { stdenv, fetchurl, autoPatchelfHook }:
let let
version = "3.8.0";
arch = if stdenv.is64bit then "amd64" else "x86"; arch = if stdenv.is64bit then "amd64" else "x86";
libDir = if stdenv.is64bit then "lib64" else "lib"; in stdenv.mkDerivation rec {
in pname = "teamspeak-server";
version = "3.8.0";
stdenv.mkDerivation {
name = "teamspeak-server-${version}";
src = fetchurl { src = fetchurl {
urls = [ urls = [
@ -19,10 +16,10 @@ stdenv.mkDerivation {
else "0p5rqwdsvbria5dzjjm5mj8vfy0zpfs669wpbwxd4g3n4vh03kyw"; else "0p5rqwdsvbria5dzjjm5mj8vfy0zpfs669wpbwxd4g3n4vh03kyw";
}; };
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
buildInputs = [ stdenv.cc.cc ]; buildInputs = [ stdenv.cc.cc ];
nativeBuildInputs = [ autoPatchelfHook ];
installPhase = '' installPhase = ''
# Install files. # Install files.
mkdir -p $out/lib/teamspeak mkdir -p $out/lib/teamspeak