32 lines
1.1 KiB
Nix
32 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 = with licenses; [ lgpl2 lgpl21 ];
|
|
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.
|
|
'';
|
|
};
|
|
}
|