mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
bzflag: enable on darwin (#52707)
This commit is contained in:
parent
f21a4733d0
commit
98625b2bee
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -20460,7 +20460,9 @@ in
|
||||
|
||||
btanks = callPackage ../games/btanks { };
|
||||
|
||||
bzflag = callPackage ../games/bzflag { };
|
||||
bzflag = callPackage ../games/bzflag {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon CoreServices;
|
||||
};
|
||||
|
||||
cataclysm-dda = callPackage ../games/cataclysm-dda {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
|
Loading…
Reference in New Issue
Block a user