about summary refs log tree commit diff
path: root/pkgs/games/xpilot/bloodspilot-server.nix
blob: 495412c0eab46ab8aa1a45d83cbb861cbb5ab98d (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
26
27
28
{ lib, stdenv, fetchurl, expat }:

stdenv.mkDerivation rec {
  pname = "bloodspilot-xpilot-fxi-server";
  version = "1.4.6";

  src = fetchurl {
    url = "mirror://sourceforge/project/bloodspilot/server/server%20v${version}/xpilot-${version}fxi.tar.gz";
    sha256 = "0d7hnpshifq6gy9a0g6il6h1hgqqjyys36n8w84hr8d4nhg4d1ji";
  };

  buildInputs = [
    expat
  ];

  patches = [
    ./server-gcc5.patch
  ];

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