2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, perl
|
|
|
|
, expat
|
2022-10-30 15:09:59 +00:00
|
|
|
, fontconfig
|
2022-06-16 17:23:12 +00:00
|
|
|
, freetype
|
2022-10-30 15:09:59 +00:00
|
|
|
, xorg
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# !!! assert freetype == xorg.freetype
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-28 23:13:55 +00:00
|
|
|
pname = "zoom";
|
|
|
|
version = "1.1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-28 23:13:55 +00:00
|
|
|
url = "https://www.logicalshift.co.uk/unix/zoom/zoom-${version}.tar.gz";
|
2022-06-16 17:23:12 +00:00
|
|
|
hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
perl
|
|
|
|
expat
|
|
|
|
fontconfig
|
|
|
|
freetype
|
|
|
|
xorg.libICE
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXrender
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://www.logicalshift.co.uk/unix/zoom/";
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "zoom";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|