Unverified Commit c4028683 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

xpilot-ng: move to by-name, modernize

parent 9bb61fdc
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -14,12 +14,12 @@
  zlib,
  libXxf86misc,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "xpilot-ng";
  version = "4.7.3";
  src = fetchurl {
    url = "mirror://sourceforge/xpilot/xpilot_ng/${pname}-${version}/${pname}-${version}.tar.gz";
    sha256 = "02a7pnp88kh88fzda5q8mzlckk6y9r5fw47j00h26wbsfly0k1zj";
    url = "mirror://sourceforge/xpilot/xpilot_ng/xpilot-ng-${finalAttrs.version}/xpilot-ng-${finalAttrs.version}.tar.gz";
    hash = "sha256-8ocJPHV6cSMgAPIQ7kpO3szJ6K8IF9W+QwhOhK69Rwk=";
  };
  buildInputs = [
    libX11
@@ -40,11 +40,11 @@ stdenv.mkDerivation rec {
    ./xpilot-ng-sdl-window-fix.patch
  ];

  meta = with lib; {
  meta = {
    description = "Multiplayer X11 space combat game";
    homepage = "http://xpilot.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 −1
Original line number Diff line number Diff line
@@ -13737,7 +13737,6 @@ with pkgs;
  xonotic-glx-unwrapped = xonotic-glx.xonotic-unwrapped;
  xonotic-dedicated-unwrapped = xonotic-dedicated.xonotic-unwrapped;

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