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

38 lines
889 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtkmm3, libxml2, libgtop, libwnck3, librsvg, systemd, wrapGAppsHook }:
2017-12-31 15:03:33 +00:00
stdenv.mkDerivation rec {
pname = "mate-system-monitor";
version = "1.22.1";
2017-12-31 15:03:33 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yh1sh5snd7ivchh6l9rbn1s7ia4j5ihhzhqkyjnhr8ln59dvcbm";
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 ];
};
}