2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
2020-11-12 09:05:59 +00:00
|
|
|
, gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
, itstool
|
|
|
|
, libxml2
|
2020-11-12 09:05:59 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, gnome-panel
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, libwnck3
|
|
|
|
, libgtop
|
|
|
|
, libnotify
|
|
|
|
, upower
|
|
|
|
, wirelesstools
|
|
|
|
, linuxPackages
|
|
|
|
, adwaita-icon-theme
|
|
|
|
, libgweather
|
|
|
|
, gucharmap
|
|
|
|
, tracker
|
|
|
|
, polkit
|
|
|
|
, gnome3
|
|
|
|
}:
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnome-applets";
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "3.38.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "04qrzycwm7pz556agl08xw3d0r1mmr4ja9n9jfijjxs9inrhp5yc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
itstool
|
2020-11-12 09:05:59 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome-panel
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libxml2
|
|
|
|
libwnck3
|
|
|
|
libgtop
|
|
|
|
libnotify
|
|
|
|
upower
|
|
|
|
adwaita-icon-theme
|
|
|
|
libgweather
|
|
|
|
gucharmap
|
2020-11-12 09:05:59 +00:00
|
|
|
# tracker # Tracker 3 not supported.
|
2020-04-24 23:36:52 +00:00
|
|
|
polkit
|
|
|
|
wirelesstools
|
|
|
|
linuxPackages.cpupower
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2020-11-12 09:05:59 +00: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";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Applets for use with the GNOME panel";
|
|
|
|
homepage = "https://wiki.gnome.org/Projects/GnomeApplets";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|