nixpkgs/pkgs/development/libraries/pango/1.28.x.nix
Eelco Dolstra 36c7d88de8 * Pango updated to 1.28.4.
svn path=/nixpkgs/branches/kde-4.7/; revision=27624
2011-07-07 15:43:26 +00:00

35 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
stdenv.mkDerivation rec {
name = "pango-1.28.4";
src = fetchurl {
url = "mirror://gnome/sources/pango/1.28/${name}.tar.bz2";
sha256 = "7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f";
};
buildInputs = [ pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin gettext;
propagatedBuildInputs = [ x11 glib cairo libpng ];
postInstall = "rm -rf $out/share/gtk-doc";
meta = {
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
longDescription = ''
Pango is a library for laying out and rendering of text, with an
emphasis on internationalization. Pango can be used anywhere
that text layout is needed, though most of the work on Pango so
far has been done in the context of the GTK+ widget toolkit.
Pango forms the core of text and font handling for GTK+-2.x.
'';
homepage = http://www.pango.org/;
license = "LGPLv2+";
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.all;
};
}