nixpkgs/pkgs/desktops/mate/mate-system-monitor/default.nix

38 lines
878 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtkmm3, libxml2, libgtop, libwnck3, librsvg, systemd, mate, wrapGAppsHook }:
2017-12-31 15:03:33 +00:00
stdenv.mkDerivation rec {
name = "mate-system-monitor-${version}";
version = "1.22.0";
2017-12-31 15:03:33 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0rs0n5ivmvi355fp3ymcp1jj2sz9viw31475aw7zh7s1l7dn969x";
2017-12-31 15:03:33 +00:00
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];
buildInputs = [
gtkmm3
libxml2
libgtop
libwnck3
librsvg
systemd
];
2018-07-25 21:44:21 +00:00
configureFlags = [ "--enable-systemd" ];
2017-12-31 15:03:33 +00:00
meta = with stdenv.lib; {
description = "System monitor for the MATE desktop";
homepage = https://mate-desktop.org;
2017-12-31 15:03:33 +00:00
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}