2013-07-04 06:04:58 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm, libpng, cairo }:
|
2009-09-29 14:39:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-01-06 23:03:37 +00:00
|
|
|
name = "pangomm-2.28.4";
|
2009-09-29 14:39:14 +01:00
|
|
|
|
2012-01-06 23:03:37 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://gnome/sources/pangomm/2.28/pangomm-2.28.4.tar.xz;
|
|
|
|
sha256 = "10kcdpg080m393f1vz0km41kd3483fkyabprm59gvjwklxkcp3bp";
|
2009-09-29 14:39:14 +01:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2013-07-04 06:04:58 +01:00
|
|
|
propagatedBuildInputs = [ pango glibmm cairomm libpng cairo ];
|
2009-09-29 14:39:14 +01:00
|
|
|
|
2013-07-04 06:04:58 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-09-29 14:39:14 +01:00
|
|
|
description = "C++ interface to the Pango text rendering library";
|
2013-07-04 06:04:58 +01:00
|
|
|
homepage = http://www.pango.org/;
|
2013-07-14 00:08:03 +01:00
|
|
|
license = with licenses; [ lgpl2 lgpl21 ];
|
2013-07-04 06:04:58 +01:00
|
|
|
maintainers = with maintainers; [ lovek323 raskin ];
|
|
|
|
platforms = platforms.unix;
|
2009-09-29 14:39:14 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|