2010-07-30 12:48:13 +02:00
|
|
|
{stdenv, fetchurl, perl, expat, x11, freetype}:
|
2004-04-01 22:20:09 +02:00
|
|
|
|
|
|
|
# !!! assert freetype == xlibs.freetype
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "zoom-1.0.2alpha1";
|
2010-07-30 12:48:13 +02:00
|
|
|
|
2004-04-01 22:20:09 +02:00
|
|
|
src = fetchurl {
|
2012-11-26 14:31:50 +01:00
|
|
|
url = http://www.logicalshift.co.uk/unix/zoom/zoom-1.1.5.tar.gz;
|
|
|
|
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
|
2004-04-01 22:20:09 +02:00
|
|
|
};
|
2010-07-30 12:48:13 +02:00
|
|
|
|
|
|
|
buildInputs = [perl expat x11 freetype];
|
|
|
|
|
2004-04-01 22:20:09 +02:00
|
|
|
# Zoom doesn't add the right directory in the include path.
|
2006-10-17 16:06:18 +02:00
|
|
|
CFLAGS = ["-I" (freetype + "/include/freetype2")];
|
2004-04-01 22:20:09 +02:00
|
|
|
}
|