summary refs log tree commit diff
path: root/pkgs/development/libraries/gtk-libs/2.12/pango/default.nix
blob: 13b6092a2d86addf71a5656eca6524eeea2395ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
args: with args;

stdenv.mkDerivation {
  name = "pango-1.18.4";
  
  src = fetchurl {
    url = mirror://gnome/sources/pango/1.18/pango-1.18.4.tar.bz2;
    sha256 = "1pggwyvklj5pbfwab0dki8nqhph90nq8j4g2rl8d87xanwpcilvg";
  };
  
  buildInputs = [pkgconfig];
  
  propagatedBuildInputs = [x11 glib cairo libpng];

  # The configure script doesn't seem to pick up the Cairo cflags.
  preConfigure = ''
    CAIRO_CFLAGS=$(pkg-config --cflags cairo --debug)
  '';

  meta = {
    description = "A library for laying out and rendering of text, with an emphasis on internationalization";
    homepage = http://www.pango.org/;
  };
}