2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, glib, libwnck, librsvg, libxml2, dconf, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook, mateUpdateScript }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mate-panel";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "1.26.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "rsT5jInFnnbMBlbtBILx2CkS9N7MZg8hyNAE5JPgVBA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
gettext
|
|
|
|
itstool
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
2021-06-28 23:13:55 +00:00
|
|
|
libwnck
|
2020-04-24 23:36:52 +00:00
|
|
|
librsvg
|
|
|
|
libxml2
|
|
|
|
gtk3
|
|
|
|
dconf
|
|
|
|
mate.libmateweather
|
|
|
|
mate.mate-desktop
|
|
|
|
mate.mate-menus
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
|
|
|
|
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
|
|
|
];
|
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
# Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason
|
|
|
|
--prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath mate.marco}"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The MATE panel";
|
|
|
|
homepage = "https://github.com/mate-desktop/mate-panel";
|
2021-04-25 03:57:28 +00:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
2021-09-23 15:35:13 +00:00
|
|
|
maintainers = teams.mate.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|