nixpkgs/pkgs/games/zoom/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.2 KiB
Nix
Raw Normal View History

2022-06-10 05:11:47 +03:00
{ lib
, stdenv
, fetchurl
, perl
, expat
, fontconfig
2022-06-10 05:11:47 +03:00
, freetype
, xorg
2022-06-10 05:11:47 +03:00
}:
# !!! assert freetype == xorg.freetype
stdenv.mkDerivation rec {
2021-06-23 00:44:58 +03:00
pname = "zoom";
version = "1.1.5";
2019-10-30 14:34:47 +03:00
src = fetchurl {
2021-06-23 00:44:58 +03:00
url = "https://www.logicalshift.co.uk/unix/zoom/zoom-${version}.tar.gz";
2022-06-10 05:11:47 +03:00
hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
};
2019-10-30 14:34:47 +03:00
buildInputs = [
perl
expat
fontconfig
freetype
xorg.libICE
xorg.libSM
xorg.libX11
xorg.libXext
xorg.libXrender
];
env.NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
meta = with lib; {
2022-06-10 05:11:47 +03:00
homepage = "https://www.logicalshift.co.uk/unix/zoom/";
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;
2023-11-24 00:09:35 +03:00
mainProgram = "zoom";
};
}