My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/desktops/gnome/core/gnome-system-monitor/default.nix

73 lines
1.3 KiB

{ lib
, stdenv
, gettext
, fetchurl
, pkg-config
, gtkmm3
, libxml2
, bash
, gtk3
, libhandy
, glib
, wrapGAppsHook
, meson
, ninja
, gsettings-desktop-schemas
, itstool
, gnome
, librsvg
, gdk-pixbuf
, libgtop
, systemd
}:
stdenv.mkDerivation rec {
pname = "gnome-system-monitor";
version = "42.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "EyOdIgMiAaIr0pgzxXW2hIFnANLeFooVMCI1d8XAddw=";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
wrapGAppsHook
meson
ninja
];
buildInputs = [
bash
gtk3
libhandy
glib
libxml2
gtkmm3
libgtop
gdk-pixbuf
gnome.adwaita-icon-theme
librsvg
gsettings-desktop-schemas
systemd
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-system-monitor";
attrPath = "gnome.gnome-system-monitor";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/SystemMonitor";
description = "System Monitor shows you what programs are running and how much processor time, memory, and disk space are being used";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}