diff options
Diffstat (limited to 'pkgs/desktops/gnome/misc/gnome-applets/default.nix')
-rw-r--r-- | pkgs/desktops/gnome/misc/gnome-applets/default.nix | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/misc/gnome-applets/default.nix b/pkgs/desktops/gnome/misc/gnome-applets/default.nix new file mode 100644 index 0000000000000..d414266a9d9e8 --- /dev/null +++ b/pkgs/desktops/gnome/misc/gnome-applets/default.nix @@ -0,0 +1,80 @@ +{ 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 +, gnome +}: + +stdenv.mkDerivation rec { + pname = "gnome-applets"; + version = "3.40.0"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "1k6mdkg16ia29fyg8ikf4dfs51gnrmg0f8xwpvd3192lhfsbsh19"; + }; + + nativeBuildInputs = [ + gettext + itstool + pkg-config + libxml2 + ]; + + buildInputs = [ + gnome-panel + gtk3 + glib + libxml2 + libwnck3 + libgtop + libnotify + upower + adwaita-icon-theme + libgweather + gucharmap + tracker + 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 = gnome.updateScript { + packageName = pname; + attrPath = "gnome.${pname}"; + versionPolicy = "odd-unstable"; + }; + }; + + 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; + }; +} |