19 stdenv.mkDerivation rec {
20 pname = "mate-system-monitor";
24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
25 sha256 = "QtZj1rkPtTYevBP2VHmD1vHirHXcKuTxysbqYymWWiU=";
48 # This package does not provide mate-version.xml.
49 substituteInPlace src/sysinfo.cpp \
50 --replace-fail 'DATADIR "/mate-about/mate-version.xml"' '"${mate-desktop}/share/mate-about/mate-version.xml"'
53 enableParallelBuilding = true;
55 passthru.updateScript = mateUpdateScript { inherit pname; };
58 description = "System monitor for the MATE desktop";
59 mainProgram = "mate-system-monitor";
60 homepage = "https://mate-desktop.org";
61 license = [ licenses.gpl2Plus ];
62 platforms = platforms.unix;
63 maintainers = teams.mate.members;