2022-06-10 04:11:47 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, perl
|
|
|
|
, expat
|
2022-10-29 09:39:03 +02:00
|
|
|
, fontconfig
|
2022-06-10 04:11:47 +02:00
|
|
|
, freetype
|
2022-10-29 09:39:03 +02:00
|
|
|
, xorg
|
2022-06-10 04:11:47 +02:00
|
|
|
}:
|
2004-04-01 22:20:09 +02:00
|
|
|
|
2015-09-15 11:26:18 +02:00
|
|
|
# !!! assert freetype == xorg.freetype
|
2004-04-01 22:20:09 +02:00
|
|
|
|
2016-03-26 15:46:28 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 23:44:58 +02:00
|
|
|
pname = "zoom";
|
|
|
|
version = "1.1.5";
|
2019-10-30 12:34:47 +01:00
|
|
|
|
2004-04-01 22:20:09 +02:00
|
|
|
src = fetchurl {
|
2021-06-22 23:44:58 +02:00
|
|
|
url = "https://www.logicalshift.co.uk/unix/zoom/zoom-${version}.tar.gz";
|
2022-06-10 04:11:47 +02:00
|
|
|
hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
|
2004-04-01 22:20:09 +02:00
|
|
|
};
|
2019-10-30 12:34:47 +01:00
|
|
|
|
2022-10-29 09:39:03 +02:00
|
|
|
buildInputs = [
|
|
|
|
perl
|
|
|
|
expat
|
|
|
|
fontconfig
|
|
|
|
freetype
|
|
|
|
xorg.libICE
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXrender
|
|
|
|
];
|
2016-03-26 15:46:28 +01:00
|
|
|
|
2019-10-30 12:34:47 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
|
2014-06-23 13:13:50 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2022-06-10 04:11:47 +02:00
|
|
|
homepage = "https://www.logicalshift.co.uk/unix/zoom/";
|
2016-03-26 15:46:28 +01:00
|
|
|
description = "Player for Z-Code, TADS and HUGO stories or games";
|
2014-06-23 13:13:50 +02: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 22:20:09 +02:00
|
|
|
}
|