about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/xpilot/bloodspilot-server.nix
blob: a860c4e1d5ffbd01072a9669c9f75b823dfcc37a (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
{ 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)";
    homepage = "http://bloodspilot.sf.net/";
    license = licenses.gpl2Plus ;
    maintainers = [ maintainers.raskin ];
    platforms = platforms.linux;
  };
}