2018-08-07 21:02:40 -07:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2020-08-25 00:33:12 -07:00
|
|
|
, gettext
|
2018-08-07 21:02:40 -07:00
|
|
|
, itstool
|
|
|
|
, libxml2
|
2020-08-25 00:33:12 -07:00
|
|
|
, pkg-config
|
2018-08-07 21:02:40 -07:00
|
|
|
, gnome-panel
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, libwnck3
|
|
|
|
, libgtop
|
|
|
|
, libnotify
|
|
|
|
, upower
|
|
|
|
, wirelesstools
|
|
|
|
, linuxPackages
|
|
|
|
, adwaita-icon-theme
|
|
|
|
, libgweather
|
|
|
|
, gucharmap
|
2020-08-25 00:33:12 -07:00
|
|
|
, tracker_2
|
2018-08-07 21:02:40 -07:00
|
|
|
, polkit
|
|
|
|
, gnome3
|
|
|
|
}:
|
|
|
|
|
2020-08-25 00:33:12 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2018-08-07 21:02:40 -07:00
|
|
|
pname = "gnome-applets";
|
2020-08-25 00:33:12 -07:00
|
|
|
version = "3.37.2";
|
2018-08-07 21:02:40 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-25 00:33:12 -07:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0l1mc9ymjg0bgk92a08zd85hx1vaqrzdj0dwzmna20rp51vf0l4a";
|
2018-08-07 21:02:40 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-08-25 00:33:12 -07:00
|
|
|
gettext
|
2018-08-07 21:02:40 -07:00
|
|
|
itstool
|
2020-08-25 00:33:12 -07:00
|
|
|
pkg-config
|
2018-08-07 21:02:40 -07:00
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome-panel
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libxml2
|
|
|
|
libwnck3
|
|
|
|
libgtop
|
|
|
|
libnotify
|
|
|
|
upower
|
|
|
|
adwaita-icon-theme
|
|
|
|
libgweather
|
|
|
|
gucharmap
|
2020-08-25 00:33:12 -07:00
|
|
|
tracker_2
|
2018-08-07 21:02:40 -07:00
|
|
|
polkit
|
|
|
|
wirelesstools
|
|
|
|
linuxPackages.cpupower
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2020-08-25 00:33:12 -07:00
|
|
|
# Don't try to install modules to gnome panel's directory, as it's read only
|
|
|
|
PKG_CONFIG_LIBGNOME_PANEL_MODULESDIR = "${placeholder "out"}/lib/gnome-panel/modules";
|
2018-08-07 21:02:40 -07:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Applets for use with the GNOME panel";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GnomeApplets";
|
2018-08-07 21:02:40 -07:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2018-08-07 21:02:40 -07:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|