Merge pull request #65226 from Mic92/teamspeak

teamspeak: remove unnecessary makeWrapper
This commit is contained in:
Robin Gloster 2019-07-22 18:35:43 +00:00 committed by GitHub
commit 8f6f4bd2d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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