1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/games/zoom/default.nix

30 lines
1,007 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }:
# !!! assert freetype == xorg.freetype
stdenv.mkDerivation rec {
2012-11-26 13:43:28 +00:00
name = "zoom-1.1.5";
2019-10-30 11:34:47 +00:00
src = fetchurl {
url = "https://www.logicalshift.co.uk/unix/zoom/${name}.tar.gz";
2012-11-26 13:31:50 +00:00
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
};
2019-10-30 11:34:47 +00:00
buildInputs = [ perl expat xlibsWrapper freetype ];
2019-10-30 11:34:47 +00:00
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
meta = with stdenv.lib; {
description = "Player for Z-Code, TADS and HUGO stories or games";
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;
};
}