nixpkgs-suyu/pkgs/games/xpilot/bloodspilot-server.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
690 B
Nix

{ 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;
};
}