nixpkgs/pkgs/games/zoom/default.nix
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00

31 lines
1.1 KiB
Nix

{ stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }:
# !!! assert freetype == xorg.freetype
stdenv.mkDerivation {
name = "zoom-1.1.5";
src = fetchurl {
url = http://www.logicalshift.co.uk/unix/zoom/zoom-1.1.5.tar.gz;
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
};
buildInputs = [ perl expat xlibsWrapper freetype ];
# Zoom doesn't add the right directory in the include path.
CFLAGS = [ "-I" (freetype + "/include/freetype2") ];
meta = with stdenv.lib; {
description = "Player for Z-Code, TADS and HUGO stories or games, usually text adventures ('interactive fiction')";
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;
};
}