3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/zoom/default.nix
Eelco Dolstra 76405f2b7f * `drv + /path' is deprecated, so don't do that anymore.
svn path=/nixpkgs/trunk/; revision=6754
2006-10-17 14:06:18 +00:00

15 lines
444 B
Nix

{stdenv, fetchurl, perl, expat, xlibs, freetype}:
# !!! assert freetype == xlibs.freetype
stdenv.mkDerivation {
name = "zoom-1.0.2alpha1";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/zoom-1.0.2alpha1.tar.gz;
md5 = "91b2fe444028178aa3b23bd0e3ae1a61";
};
buildInputs = [perl expat xlibs freetype];
# Zoom doesn't add the right directory in the include path.
CFLAGS = ["-I" (freetype + "/include/freetype2")];
}