3
0
Fork 0
forked from mirrors/nixpkgs

bloodpilot-client: fix build

This commit is contained in:
Nikolay Amiantov 2016-08-22 07:43:22 +03:00
parent 7783862700
commit 4197bfee34

View file

@ -1,20 +1,21 @@
{stdenv, fetchurl, libX11, SDL, mesa, expat, SDL_ttf, SDL_image}:
let
buildInputs = [
libX11 SDL SDL_ttf SDL_image mesa expat
];
in
{ stdenv, fetchurl, libX11, SDL, mesa, expat, zlib, SDL_ttf, SDL_image }:
stdenv.mkDerivation rec {
version = "1.5.0";
name = "bloodspilot-client-${version}";
inherit buildInputs;
src = fetchurl {
url = "mirror://sourceforge/project/bloodspilot/client-sdl/v${version}/bloodspilot-client-sdl-${version}.tar.gz";
sha256 = "1qwl95av5an2zl01m7saj6fyy49xpixga7gbn4lwbpgpqs1rbwxj";
};
NIX_LDFLAGS=["-lX11"];
buildInputs = [
libX11 SDL SDL_ttf SDL_image mesa expat zlib
];
NIX_LDFLAGS = [ "-lX11" ];
meta = {
inherit version;
description = ''A multiplayer space combat game (client part)'';
homepage = "http://bloodspilot.sf.net/";
license = stdenv.lib.licenses.gpl2Plus ;