2015-09-15 09:13:22 +00:00
|
|
|
{ stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }:
|
2004-04-01 20:20:09 +00:00
|
|
|
|
2015-09-15 09:26:18 +00:00
|
|
|
# !!! assert freetype == xorg.freetype
|
2004-04-01 20:20:09 +00:00
|
|
|
|
2016-03-26 14:46:28 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2012-11-26 13:43:28 +00:00
|
|
|
name = "zoom-1.1.5";
|
2010-07-30 10:48:13 +00:00
|
|
|
|
2004-04-01 20:20:09 +00:00
|
|
|
src = fetchurl {
|
2016-03-26 14:46:28 +00:00
|
|
|
url = "http://www.logicalshift.co.uk/unix/zoom/${name}.tar.gz";
|
2012-11-26 13:31:50 +00:00
|
|
|
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
|
2004-04-01 20:20:09 +00:00
|
|
|
};
|
2010-07-30 10:48:13 +00:00
|
|
|
|
2015-09-15 09:13:22 +00:00
|
|
|
buildInputs = [ perl expat xlibsWrapper freetype ];
|
2010-07-30 10:48:13 +00:00
|
|
|
|
2016-03-26 14:46:28 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
# Zoom doesn't add the right directory in the include path.
|
|
|
|
"-I" (freetype + "/include/freetype2")
|
|
|
|
|
|
|
|
# for gcc5; c11 inline semantics breaks the build
|
|
|
|
"-fgnu89-inline"
|
|
|
|
];
|
2014-06-23 11:13:50 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-03-26 14:46:28 +00:00
|
|
|
description = "Player for Z-Code, TADS and HUGO stories or games";
|
2014-06-23 11:13:50 +00:00
|
|
|
longDescription = ''
|
|
|
|
Zoom is a player for Z-Code, TADS and HUGO stories or games. These are
|
|
|
|
usually text adventures ('interactive fiction'), and were first created
|
|
|
|
by Infocom with the Zork series of games. Throughout the 80's, Infocom
|
|
|
|
released many interactive fiction stories before their ambitions to enter
|
|
|
|
the database market finally brought them low.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2004-04-01 20:20:09 +00:00
|
|
|
}
|