1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 gnum4,
7 glib,
8 libsigcxx30,
9 gnome,
10 meson,
11 ninja,
12}:
13
14stdenv.mkDerivation rec {
15 pname = "glibmm";
16 version = "2.84.0";
17
18 outputs = [
19 "out"
20 "dev"
21 ];
22
23 src = fetchurl {
24 url = "mirror://gnome/sources/glibmm/${lib.versions.majorMinor version}/glibmm-${version}.tar.xz";
25 hash = "sha256-Vu5fUcis/Ar99GlZMW5MhVTLUO0ra8XOOJ2XnLtkJQk=";
26 };
27
28 nativeBuildInputs = [
29 meson
30 pkg-config
31 ninja
32 gnum4
33 glib # for glib-compile-schemas
34 ];
35
36 propagatedBuildInputs = [
37 glib
38 libsigcxx30
39 ];
40
41 doCheck = false; # fails. one test needs the net, another /etc/fstab
42
43 passthru = {
44 updateScript = gnome.updateScript {
45 packageName = "glibmm";
46 attrPath = "glibmm_2_68";
47 versionPolicy = "odd-unstable";
48 };
49 };
50
51 meta = with lib; {
52 description = "C++ interface to the GLib library";
53 homepage = "https://gtkmm.org/";
54 license = licenses.lgpl2Plus;
55 maintainers = with maintainers; [ raskin ];
56 teams = [ teams.gnome ];
57 platforms = platforms.unix;
58 };
59}