Merge pull request #223012 from nixinator/xgalaga-init

xgalagapp: init at 0.9
This commit is contained in:
Ilan Joselevich 2023-03-28 01:28:49 +03:00 committed by GitHub
commit ef86d7b2c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, stdenv
, fetchurl
, libX11
, libXpm
}:
stdenv.mkDerivation rec {
pname = "xgalaga++";
version = "0.9";
src = fetchurl {
url = "https://marc.mongenet.ch/OSS/XGalaga/xgalaga++_${version}.tar.gz";
sha256 = "sha256-yNtLuYCMHLvQAVM7CDGPardrh3q27TE9l31qhUbMf8k=";
};
buildInputs = [
libX11
libXpm
];
buildPhase = ''
make all HIGH_SCORES_FILE=.xgalaga++.scores
'';
installPhase = ''
mkdir -p $out/bin $out/share/man
mv xgalaga++ $out/bin
mv xgalaga++.6x $out/share/man
'';
meta = with lib; {
homepage = "https://marc.mongenet.ch/OSS/XGalaga/";
description = "XGalaga++ is a classic single screen vertical shoot em up. It is inspired by XGalaga and reuses most of its sprites.";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}

View file

@ -36408,6 +36408,8 @@ with pkgs;
xcowsay = callPackage ../games/xcowsay { };
xgalagapp = callPackage ../games/xgalaga++ { };
xjump = callPackage ../games/xjump { };
xmoto = callPackage ../games/xmoto { };