summary refs log tree commit diff
path: root/pkgs/development/libraries/fontconfig/default.nix
blob: 7e286d0800bca544fd6a9065789afcc563e8269d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{stdenv, fetchurl, freetype, expat}:

assert freetype != null && expat != null;

stdenv.mkDerivation {
  name = "fontconfig-2.4.2";
  builder = ./builder.sh;
  src = fetchurl {
    url = http://fontconfig.org/release/fontconfig-2.4.2.tar.gz;
    sha256 = "0qqk6hqh8ardqlgzdgj0zjn6a61z4j6ba9x3xs8pp0c2650xd8v3";
  };
  buildInputs = [freetype];
  propagatedBuildInputs = [expat]; # !!! shouldn't be necessary, but otherwise pango breaks
}