1ae14203fc
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
79 lines
1.5 KiB
Nix
79 lines
1.5 KiB
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, gettext
|
|
, itstool
|
|
, libxml2
|
|
, pkg-config
|
|
, gnome-panel
|
|
, gtk3
|
|
, glib
|
|
, libwnck3
|
|
, libgtop
|
|
, libnotify
|
|
, upower
|
|
, wirelesstools
|
|
, linuxPackages
|
|
, adwaita-icon-theme
|
|
, libgweather
|
|
, gucharmap
|
|
, tracker
|
|
, polkit
|
|
, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-applets";
|
|
version = "3.38.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "04qrzycwm7pz556agl08xw3d0r1mmr4ja9n9jfijjxs9inrhp5yc";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
itstool
|
|
pkg-config
|
|
libxml2
|
|
];
|
|
|
|
buildInputs = [
|
|
gnome-panel
|
|
gtk3
|
|
glib
|
|
libxml2
|
|
libwnck3
|
|
libgtop
|
|
libnotify
|
|
upower
|
|
adwaita-icon-theme
|
|
libgweather
|
|
gucharmap
|
|
# tracker # Tracker 3 not supported.
|
|
polkit
|
|
wirelesstools
|
|
linuxPackages.cpupower
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
# 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";
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
attrPath = "gnome3.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
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;
|
|
};
|
|
}
|