18 stdenv.mkDerivation rec {
19 pname = "mate-system-monitor";
23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
24 sha256 = "QtZj1rkPtTYevBP2VHmD1vHirHXcKuTxysbqYymWWiU=";
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"'
49 enableParallelBuilding = true;
51 passthru.updateScript = mateUpdateScript { inherit pname; };
54 description = "System monitor for the MATE desktop";
55 mainProgram = "mate-system-monitor";
56 homepage = "https://mate-desktop.org";
57 license = [ licenses.gpl2Plus ];
58 platforms = platforms.unix;
59 maintainers = teams.mate.members;