18 stdenv.mkDerivation rec {
22 outputs = [ "out" "dev" ];
25 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
26 sha256 = "yCeG1G4rBzRrY5fKfxkp2VL0ki+lyds97ghJi5oTbPU=";
40 propagatedBuildInputs = [
47 checkInputs = lib.optionals (!stdenv.isDarwin)[
51 # Tests require fontconfig.
52 FONTCONFIG_FILE = makeFontsConf {
53 fontDirectories = [ ];
61 ${lib.optionalString (!stdenv.isDarwin) "xvfb-run -s '-screen 0 800x600x24'"} \
62 meson test --print-errorlogs
68 updateScript = gnome.updateScript {
70 attrPath = "${pname}4";
71 versionPolicy = "odd-unstable";
76 description = "C++ interface to the GTK graphical user interface library";
78 gtkmm is the official C++ interface for the popular GUI library
79 GTK. Highlights include typesafe callbacks, and a
80 comprehensive set of widgets that are easily extensible via
81 inheritance. You can create user interfaces either in code or
82 with the Glade User Interface designer, using libglademm.
83 There's extensive documentation, including API reference and a
86 homepage = "https://gtkmm.org/";
87 license = licenses.lgpl2Plus;
88 maintainers = teams.gnome.members ++ (with maintainers; [ raskin ]);
89 platforms = platforms.unix;