2004-03-30 19:28:41 +02:00
|
|
|
{stdenv, fetchurl, freetype, expat}:
|
|
|
|
|
|
|
|
assert freetype != null && expat != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-06-12 11:49:40 +02:00
|
|
|
name = "fontconfig-2.6.0";
|
2008-03-07 16:43:43 +01:00
|
|
|
|
2004-03-30 19:28:41 +02:00
|
|
|
src = fetchurl {
|
2008-06-12 11:49:40 +02:00
|
|
|
url = http://fontconfig.org/release/fontconfig-2.6.0.tar.gz;
|
|
|
|
sha256 = "19fqr2vh7rzpqfh2lnkymh7q5pxn9r4w2z35lh36crp5l3m3k9m9";
|
2004-03-30 19:28:41 +02:00
|
|
|
};
|
2008-03-07 16:43:43 +01:00
|
|
|
|
2004-03-30 19:28:41 +02:00
|
|
|
buildInputs = [freetype];
|
|
|
|
propagatedBuildInputs = [expat]; # !!! shouldn't be necessary, but otherwise pango breaks
|
2008-03-07 16:43:43 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--with-confdir=$out/etc/fonts --disable-docs --with-default-fonts="
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library for font customization and configuration";
|
|
|
|
homepage = http://fontconfig.org/;
|
|
|
|
};
|
2004-03-30 19:28:41 +02:00
|
|
|
}
|