about summary refs log tree commit diff
path: root/pkgs/games/zoom/default.nix
blob: 1ca39ebc73b226523581f131a3bded6161667c51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{stdenv, fetchurl, perl, expat, x11, freetype}:

# !!! assert freetype == xlibs.freetype

stdenv.mkDerivation {
  name = "zoom-1.0.2alpha1";
  
  src = fetchurl {
    url = http://www.logicalshift.demon.co.uk/unix/zoom/zoom-1.0.2alpha1.tar.gz;
    md5 = "91b2fe444028178aa3b23bd0e3ae1a61";
  };
  
  buildInputs = [perl expat x11 freetype];
  
  # Zoom doesn't add the right directory in the include path.
  CFLAGS = ["-I" (freetype + "/include/freetype2")];
}