2019-03-24 15:29:44 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, vala
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
|
|
|
, desktop-file-utils
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libgtop
|
|
|
|
, libdazzle
|
|
|
|
, gnome3
|
2019-09-02 18:44:12 +02:00
|
|
|
, tracker
|
2019-03-24 15:29:44 +01:00
|
|
|
}:
|
2018-03-15 02:47:54 +01:00
|
|
|
|
2019-03-24 15:29:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-15 02:47:54 +01:00
|
|
|
pname = "gnome-usage";
|
2019-09-02 18:44:12 +02:00
|
|
|
version = "3.33.2";
|
2018-03-15 02:47:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-24 15:29:44 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-09-02 18:44:12 +02:00
|
|
|
sha256 = "0w3ppfaf15il8mad64qyc9hj1rmlvzs5dyzrxhq7r50k4kyiwmk4";
|
2018-03-15 02:47:54 +01:00
|
|
|
};
|
|
|
|
|
2019-03-24 15:29:44 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2018-03-15 02:47:54 +01:00
|
|
|
|
2019-03-24 15:29:44 +01:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gtk3
|
|
|
|
libdazzle
|
|
|
|
libgtop
|
2019-09-02 18:44:12 +02:00
|
|
|
tracker
|
2019-03-24 15:29:44 +01:00
|
|
|
];
|
2018-03-15 02:47:54 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson/postinstall.sh
|
|
|
|
patchShebangs build-aux/meson/postinstall.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-03-24 15:29:44 +01:00
|
|
|
description = "A nice way to view information about use of system resources, like memory and disk space";
|
2018-03-15 02:47:54 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2018-03-15 02:47:54 +01:00
|
|
|
};
|
|
|
|
}
|