{ lib, stdenv , fetchurl , autoreconfHook , dconf , evolution-data-server , gdm , gettext , glib , gnome-desktop , gnome-menus , gnome , gtk3 , itstool , libgweather , libsoup , libwnck3 , libxml2 , pkg-config , polkit , systemd , wrapGAppsHook }: stdenv.mkDerivation rec { pname = "gnome-panel"; version = "3.40.0"; outputs = [ "out" "dev" "man" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; hash = "sha256-nxNQde3GZs8rnKkd41xnA+KxdxwQp3B0FPtlbCilmzs="; }; patches = [ # Load modules from path in `NIX_GNOME_PANEL_MODULESDIR` environment variable # instead of gnome-panel’s libdir so that the NixOS module can make gnome-panel # load modules from other packages as well. ./modulesdir-env-var.patch ]; # make .desktop Exec absolute postPatch = '' patch -p0 <