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