bzflag: enable on darwin (#52707)

This commit is contained in:
Dmitry Kalinkin
2018-12-22 18:01:20 -05:00
committed by GitHub
parent f21a4733d0
commit 98625b2bee
2 changed files with 8 additions and 4 deletions
+5 -3
View File
@@ -1,5 +1,6 @@
{ stdenv, lib, fetchurl, pkgconfig
, curl, SDL2, libGLU_combined, glew, ncurses, c-ares }:
, curl, SDL2, libGLU_combined, glew, ncurses, c-ares
, Carbon, CoreServices }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
@@ -12,13 +13,14 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ curl SDL2 libGLU_combined glew ncurses c-ares ];
buildInputs = [ curl SDL2 libGLU_combined glew ncurses c-ares ]
++ lib.optionals stdenv.isDarwin [ Carbon CoreServices ];
meta = with lib; {
description = "Multiplayer 3D Tank game";
homepage = https://bzflag.org/;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
};
}