1 { lib, stdenv, fetchurl, pkg-config, meson, ninja, python3, pango, glibmm, cairomm, gnome3
2 , ApplicationServices }:
4 stdenv.mkDerivation rec {
9 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10 sha256 = "sha256-GyTJJiSuEnXMtXdYF10198Oa0zQtjAtLpg8NmEnS0Io=";
13 outputs = [ "out" "dev" ];
15 nativeBuildInputs = [ pkg-config meson ninja python3 ] ++ lib.optional stdenv.isDarwin [
18 propagatedBuildInputs = [ pango glibmm cairomm ];
23 updateScript = gnome3.updateScript {
29 description = "C++ interface to the Pango text rendering library";
30 homepage = "https://www.pango.org/";
31 license = with licenses; [ lgpl2 lgpl21 ];
32 maintainers = with maintainers; [ lovek323 raskin ];
33 platforms = platforms.unix;
36 Pango is a library for laying out and rendering of text, with an
37 emphasis on internationalization. Pango can be used anywhere
38 that text layout is needed, though most of the work on Pango so
39 far has been done in the context of the GTK widget toolkit.
40 Pango forms the core of text and font handling for GTK.