2023-03-25 06:34:40 +01:00
|
|
|
|
{ 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/";
|
2024-01-12 17:07:33 +01:00
|
|
|
|
description = "XGalaga++ is a classic single screen vertical shoot ’em up. It is inspired by XGalaga and reuses most of its sprites";
|
2024-03-19 03:14:51 +01:00
|
|
|
|
mainProgram = "xgalaga++";
|
2023-03-25 06:34:40 +01:00
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
}
|