20 , gobject-introspection
26 stdenv.mkDerivation rec {
31 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
32 sha256 = "Z4pD6DeqJxhJQgT93xm7kGzwfl2A/S4d3nRfJtKtujM=";
56 propagatedBuildInputs = [
59 # See https://github.com/mate-desktop/mate-panel/issues/1402
60 # This is propagated for mate_panel_applet_settings_new and applet's wrapGAppsHook3
64 # Needed for Wayland support.
65 configureFlags = [ "--with-in-process-applets=all" ];
67 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
70 "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
71 "INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
76 # Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason
77 --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath marco}"
81 enableParallelBuilding = true;
83 passthru.updateScript = mateUpdateScript { inherit pname; };
86 description = "MATE panel";
87 homepage = "https://github.com/mate-desktop/mate-panel";
88 license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
89 platforms = platforms.unix;
90 maintainers = teams.mate.members;