1{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm }:
2
3let
4 ver_maj = "2.40";
5 ver_min = "0";
6in
7stdenv.mkDerivation rec {
8 name = "pangomm-${ver_maj}.${ver_min}";
9
10 src = fetchurl {
11 url = "mirror://gnome/sources/pangomm/${ver_maj}/${name}.tar.xz";
12 sha256 = "03fpqdjp7plybf4zsgszbm8yhgl28vmajzfpmaqcsmyfvjlszl3x";
13 };
14
15 nativeBuildInputs = [ pkgconfig ];
16 propagatedBuildInputs = [ pango glibmm cairomm ];
17
18 doCheck = true;
19
20 meta = with stdenv.lib; {
21 description = "C++ interface to the Pango text rendering library";
22 homepage = http://www.pango.org/;
23 license = with licenses; [ lgpl2 lgpl21 ];
24 maintainers = with maintainers; [ lovek323 raskin ];
25 platforms = platforms.unix;
26
27 longDescription = ''
28 Pango is a library for laying out and rendering of text, with an
29 emphasis on internationalization. Pango can be used anywhere
30 that text layout is needed, though most of the work on Pango so
31 far has been done in the context of the GTK+ widget toolkit.
32 Pango forms the core of text and font handling for GTK+-2.x.
33 '';
34 };
35}