Unverified Commit 9924426f authored by Rafael Ieda's avatar Rafael Ieda
Browse files

bloodspilot-server: move to by-name, modernize

parent 355e927e
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -5,13 +5,13 @@
  expat,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  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";
    url = "mirror://sourceforge/project/bloodspilot/server/server%20v${finalAttrs.version}/xpilot-${finalAttrs.version}fxi.tar.gz";
    hash = "sha256-UYZGHrSkoQwJ4siaob2XGD8YoKHRPKCSfwa7CPW18DQ=";
  };

  buildInputs = [
@@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
    ./bloodspilot-server-strcpy-fix.patch
  ];

  meta = with lib; {
  meta = {
    description = "Multiplayer X11 space combat game (server part)";
    mainProgram = "xpilots";
    homepage = "http://bloodspilot.sf.net/";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.raskin ];
    platforms = platforms.linux;
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ raskin ];
    platforms = lib.platforms.linux;
  };
}
})
+0 −2
Original line number Diff line number Diff line
@@ -13737,8 +13737,6 @@ with pkgs;
  xonotic-glx-unwrapped = xonotic-glx.xonotic-unwrapped;
  xonotic-dedicated-unwrapped = xonotic-dedicated.xonotic-unwrapped;

  bloodspilot-server = callPackage ../games/xpilot/bloodspilot-server.nix { };

  inherit
    (callPackage ../games/quake2/yquake2 {
    })