nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 perl,
6 expat,
7 fontconfig,
8 freetype,
9 libxrender,
10 libxext,
11 libx11,
12 libsm,
13 libice,
14}:
15
16# !!! assert freetype == xorg.freetype
17
18stdenv.mkDerivation (finalAttrs: {
19 pname = "zoom";
20 version = "1.1.5";
21
22 src = fetchurl {
23 url = "https://www.logicalshift.co.uk/unix/zoom/zoom-${finalAttrs.version}.tar.gz";
24 hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
25 };
26
27 buildInputs = [
28 perl
29 expat
30 fontconfig
31 freetype
32 libice
33 libsm
34 libx11
35 libxext
36 libxrender
37 ];
38
39 env.NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
40
41 meta = {
42 homepage = "https://www.logicalshift.co.uk/unix/zoom/";
43 description = "Player for Z-Code, TADS and HUGO stories or games";
44 longDescription = ''
45 Zoom is a player for Z-Code, TADS and HUGO stories or games. These are
46 usually text adventures ('interactive fiction'), and were first created
47 by Infocom with the Zork series of games. Throughout the 80's, Infocom
48 released many interactive fiction stories before their ambitions to enter
49 the database market finally brought them low.
50 '';
51 license = lib.licenses.gpl3;
52 platforms = lib.platforms.linux;
53 mainProgram = "zoom";
54 };
55})