nixpkgs/pkgs/applications/misc/gnome-usage/default.nix

68 lines
1.1 KiB
Nix
Raw Normal View History

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