22 , gnome-online-accounts
23 , gnome-settings-daemon
26 , gsettings-desktop-schemas
51 , networkmanagerapplet
61 , sound-theme-freedesktop
69 , gnome-remote-desktop
74 stdenv.mkDerivation (finalAttrs: {
75 pname = "gnome-control-center";
79 url = "mirror://gnome/sources/gnome-control-center/${lib.versions.major finalAttrs.version}/gnome-control-center-${finalAttrs.version}.tar.xz";
80 hash = "sha256-l9xsfR3uGVkU88vIRbaBZLdhFIDYk760EQBsFerkbLk=";
86 gcm = gnome-color-manager;
87 inherit glibc tzdata shadow;
88 inherit cups networkmanagerapplet;
117 gnome-online-accounts
118 gnome-remote-desktop # optional, sharing panel
119 gnome-settings-daemon
121 gnome-user-share # optional, sharing panel
122 gsettings-desktop-schemas
142 mutter # schemas for the keybindings
147 tracker-miners # for search locations dialog
150 ] ++ (with gst_all_1; [
151 # For animations in Mouse panel.
156 nativeCheckInputs = [
158 python3.pkgs.pygobject3 # for test-networkmanager-service.py
159 python3.pkgs.python-dbusmock
161 xorgserver # for Xvfb
168 addToSearchPath "XDG_DATA_DIRS" "${polkit.out}/share"
172 # Basically same as https://github.com/NixOS/nixpkgs/pull/141299
173 export ADW_DISABLE_PORTAL=1
174 export XDG_DATA_DIRS=${glib.getSchemaDataDirPath gsettings-desktop-schemas}
178 # Pull in WebP and JXL support for gnome-backgrounds.
179 # In postInstall to run before gappsWrapperArgsHook.
180 export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
191 --prefix XDG_DATA_DIRS : "${sound-theme-freedesktop}/share"
192 # Thumbnailers (for setting user profile pictures)
193 --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
194 --prefix XDG_DATA_DIRS : "${librsvg}/share"
195 # WM keyboard shortcuts
196 --prefix XDG_DATA_DIRS : "${mutter}/share"
198 for i in $out/share/applications/*; do
199 substituteInPlace $i --replace "Exec=gnome-control-center" "Exec=$out/bin/gnome-control-center"
203 separateDebugInfo = true;
206 updateScript = gnome.updateScript {
207 packageName = "gnome-control-center";
208 attrPath = "gnome.gnome-control-center";
213 description = "Utilities to configure the GNOME desktop";
214 mainProgram = "gnome-control-center";
215 license = licenses.gpl2Plus;
216 maintainers = teams.gnome.members;
217 platforms = platforms.linux;