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