summary refs log tree commit diff
path: root/pkgs/games/xpilot/bloodspilot-client.nix
blob: c370f489d2ca2a783c2becfd66a703b34cf09654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, libX11, SDL, mesa, expat, zlib, SDL_ttf, SDL_image }:

stdenv.mkDerivation rec {
  version = "1.5.0";
  name = "bloodspilot-client-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/project/bloodspilot/client-sdl/v${version}/bloodspilot-client-sdl-${version}.tar.gz";
    sha256 = "1qwl95av5an2zl01m7saj6fyy49xpixga7gbn4lwbpgpqs1rbwxj";
  };

  buildInputs = [
    libX11 SDL SDL_ttf SDL_image mesa expat zlib
  ];

  NIX_LDFLAGS = [ "-lX11" ];

  meta = {
    description = ''A multiplayer space combat game (client part)'';
    homepage = "http://bloodspilot.sf.net/";
    license = stdenv.lib.licenses.gpl2Plus ;
    maintainers = [stdenv.lib.maintainers.raskin];
    platforms = stdenv.lib.platforms.linux;
  };
}