nixpkgs/pkgs/games/xpilot/bloodspilot-server.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
661 B
Nix

{ 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 stdenv.lib; {
description = "A multiplayer X11 space combat game (server part)";
homepage = http://bloodspilot.sf.net/;
license = licenses.gpl2Plus ;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}