1 { stdenv, lib, fetchurl, pkg-config
2 , curl, SDL2, libGLU, libGL, glew, ncurses, c-ares
3 , Carbon, CoreServices }:
5 stdenv.mkDerivation rec {
10 url = "https://download.bzflag.org/${pname}/source/${version}/${pname}-${version}.tar.bz2";
11 sha256 = "sha256-AYMEBf8mrR3FlafgaVyCTCeG5niGjZ/4Iq6xSsdIEBQ=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ curl SDL2 libGLU libGL glew ncurses c-ares ]
16 ++ lib.optionals stdenv.isDarwin [ Carbon CoreServices ];
19 description = "Multiplayer 3D Tank game";
20 homepage = "https://bzflag.org/";
21 license = licenses.lgpl21Plus;
22 platforms = platforms.unix;
23 maintainers = with maintainers; [ ];