nixpkgs/pkgs/development/libraries/pangomm/2.28.x.nix
Jason \"Don\" O'Conal 3d6f857f99 pangomm: fix build on darwin
* add cairo to build inputs
* fix cairo include path
2013-07-12 16:26:47 +02:00

31 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm, libpng, cairo }:
stdenv.mkDerivation rec {
name = "pangomm-2.28.4";
src = fetchurl {
url = mirror://gnome/sources/pangomm/2.28/pangomm-2.28.4.tar.xz;
sha256 = "10kcdpg080m393f1vz0km41kd3483fkyabprm59gvjwklxkcp3bp";
};
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ pango glibmm cairomm libpng cairo ];
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo";
meta = with stdenv.lib; {
description = "C++ interface to the Pango text rendering library";
homepage = http://www.pango.org/;
license = licenses.lgplv2Plus;
maintainers = with maintainers; [ lovek323 raskin ];
platforms = platforms.unix;
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.
'';
};
}