nixpkgs/pkgs/games/zoom/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00

15 lines
456 B
Nix

{stdenv, fetchurl, perl, expat, xlibs, 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 xlibs freetype];
# Zoom doesn't add the right directory in the include path.
CFLAGS = ["-I" (freetype + "/include/freetype2")];
}