greenmask: 0.2.6 -> 0.2.7 (#378403)
[NixPkgs.git] / pkgs / development / libraries / pangomm / 2.48.nix
blob748b961c65316f8d4d971a6771f44fb94791f47a
2   stdenv,
3   lib,
4   fetchurl,
5   pkg-config,
6   meson,
7   ninja,
8   python3,
9   pango,
10   glibmm_2_68,
11   cairomm_1_16,
12   gnome,
13   ApplicationServices,
16 stdenv.mkDerivation rec {
17   pname = "pangomm";
18   version = "2.54.0";
20   outputs = [
21     "out"
22     "dev"
23   ];
25   src = fetchurl {
26     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
27     hash = "sha256-Slsf0bfEehr0UnfqgrWr6sqOCPsQon2qY5TPiNdOes8=";
28   };
30   nativeBuildInputs =
31     [
32       pkg-config
33       meson
34       ninja
35       python3
36     ]
37     ++ lib.optionals stdenv.hostPlatform.isDarwin [
38       ApplicationServices
39     ];
41   propagatedBuildInputs = [
42     pango
43     glibmm_2_68
44     cairomm_1_16
45   ];
47   doCheck = true;
49   passthru = {
50     updateScript = gnome.updateScript {
51       packageName = pname;
52       attrPath = "${pname}_2_48";
53       versionPolicy = "odd-unstable";
54     };
55   };
57   meta = with lib; {
58     description = "C++ interface to the Pango text rendering library";
59     longDescription = ''
60       Pango is a library for laying out and rendering of text, with an
61       emphasis on internationalization.  Pango can be used anywhere
62       that text layout is needed, though most of the work on Pango so
63       far has been done in the context of the GTK widget toolkit.
64       Pango forms the core of text and font handling for GTK.
65     '';
66     homepage = "https://www.pango.org/";
67     license = licenses.lgpl21Plus;
68     maintainers =
69       teams.gnome.members
70       ++ (with maintainers; [
71         lovek323
72         raskin
73       ]);
74     platforms = platforms.unix;
75   };