forked from mirrors/nixpkgs
Galaxis: init at 1.9 (#26185)
* Galaxis: init at 1.9 * galaxis: nitpicks
This commit is contained in:
parent
132b503aac
commit
815ad7c549
47
pkgs/games/galaxis/default.nix
Normal file
47
pkgs/games/galaxis/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ stdenv, fetchurl, ncurses, xmlto }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec{
|
||||
|
||||
name = "galaxis-${version}";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchurl{
|
||||
url = "http://www.catb.org/~esr/galaxis/${name}.tar.gz";
|
||||
sha256 = "1dsypk5brfbc399pg4fk9myyh5yyln0ljl1aiqkypws8h4nsdphl";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses xmlto ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i\
|
||||
-e 's|^install: galaxis\.6 uninstall|install: galaxis.6|'\
|
||||
-e 's|usr/||g' -e 's|ROOT|DESTDIR|g'\
|
||||
-e 's|install -m 755 -o 0 -g 0|install -m 755|' Makefile
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
meta = {
|
||||
description = "Rescue lifeboats lost in interstellar space";
|
||||
longDescription = ''
|
||||
Lifeboats from a crippled interstellar liner are adrift in a starfield. To
|
||||
find them, you can place probes that look in all eight compass directions
|
||||
and tell you how many lifeboats they see. If you drop a probe directly on
|
||||
a lifeboat it will be revealed immediately. Your objective: find the
|
||||
lifeboats as quickly as possible, before the stranded passengers run out
|
||||
of oxygen!
|
||||
|
||||
This is a UNIX-hosted, curses-based clone of the nifty little Macintosh
|
||||
freeware game Galaxis. It doesn't have the super-simple, point-and-click
|
||||
interface of the original, but compensates by automating away some of the
|
||||
game's simpler deductions.
|
||||
'';
|
||||
homepage = http://catb.org/~esr/galaxis/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -16936,6 +16936,8 @@ with pkgs;
|
|||
wxGTK = wxGTK28.override { unicode = false; };
|
||||
};
|
||||
|
||||
galaxis = callPackage ../games/galaxis { };
|
||||
|
||||
gambatte = callPackage ../games/gambatte { };
|
||||
|
||||
garden-of-coloured-lights = callPackage ../games/garden-of-coloured-lights { allegro = allegro4; };
|
||||
|
|
Loading…
Reference in a new issue