mate.mate-system-monitor: 1.26.3 -> 1.28.1

https://github.com/mate-desktop/mate-system-monitor/compare/v1.26.3...v1.28.1

Drops libwnck since upstream discourages building wnck support.
https://github.com/mate-desktop/mate-system-monitor/blob/v1.28.0/meson_options.txt#L2

Systemd support is now enabled by default.
https://github.com/mate-desktop/mate-system-monitor/commit/bc1296b16d9ec05e8d990c18d22fc52b78071afb

Also fixes mate-version.xml path.

+8 -5
+8 -5
pkgs/desktops/mate/mate-system-monitor/default.nix
··· 7 7 , gtkmm3 8 8 , libxml2 9 9 , libgtop 10 - , libwnck 11 10 , librsvg 12 11 , polkit 13 12 , systemd 14 13 , wrapGAppsHook 14 + , mate-desktop 15 15 , mateUpdateScript 16 16 }: 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "mate-system-monitor"; 20 - version = "1.26.3"; 20 + version = "1.28.1"; 21 21 22 22 src = fetchurl { 23 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - sha256 = "WFthNBX3bucDt7XlK1WWKUKVB+A8kwVKSq3Pb5xlIkk="; 24 + sha256 = "QtZj1rkPtTYevBP2VHmD1vHirHXcKuTxysbqYymWWiU="; 25 25 }; 26 26 27 27 nativeBuildInputs = [ ··· 35 35 gtkmm3 36 36 libxml2 37 37 libgtop 38 - libwnck 39 38 librsvg 40 39 polkit 41 40 systemd 42 41 ]; 43 42 44 - configureFlags = [ "--enable-systemd" ]; 43 + postPatch = '' 44 + # This package does not provide mate-version.xml. 45 + substituteInPlace src/sysinfo.cpp \ 46 + --replace-fail 'DATADIR "/mate-about/mate-version.xml"' '"${mate-desktop}/share/mate-about/mate-version.xml"' 47 + ''; 45 48 46 49 enableParallelBuilding = true; 47 50