23 gnome-online-accounts,
24 gnome-settings-daemon,
27 gsettings-desktop-schemas,
62 sound-theme-freedesktop,
75 stdenv.mkDerivation (finalAttrs: {
76 pname = "gnome-control-center";
80 url = "mirror://gnome/sources/gnome-control-center/${lib.versions.major finalAttrs.version}/gnome-control-center-${finalAttrs.version}.tar.xz";
81 hash = "sha256-BR/UBXFX9LIzcBP778luPRKWVOP8lg1ISdNUJSQAvnc=";
87 gcm = gnome-color-manager;
88 inherit glibc tzdata shadow;
89 inherit cups networkmanagerapplet;
118 gnome-online-accounts
119 gnome-remote-desktop # optional, sharing panel
120 gnome-settings-daemon
122 gnome-user-share # optional, sharing panel
123 gsettings-desktop-schemas
143 mutter # schemas for the keybindings
148 localsearch # for search locations dialog
151 # For animations in Mouse panel.
152 gst_all_1.gst-plugins-base
153 gst_all_1.gst-plugins-good
154 # vp9alphadecodebin, observed from GST_DEBUG="*:3" warnings.
155 # https://github.com/NixOS/nixpkgs/pull/333911#issuecomment-2409233470
156 gst_all_1.gst-plugins-bad
159 nativeCheckInputs = [
161 python3.pkgs.pygobject3 # for test-networkmanager-service.py
162 python3.pkgs.python-dbusmock
164 xorgserver # for Xvfb
171 addToSearchPath "XDG_DATA_DIRS" "${polkit.out}/share"
175 # Basically same as https://github.com/NixOS/nixpkgs/pull/141299
176 export ADW_DISABLE_PORTAL=1
177 export XDG_DATA_DIRS=${glib.getSchemaDataDirPath gsettings-desktop-schemas}
181 # Pull in WebP and JXL support for gnome-backgrounds.
182 # In postInstall to run before gappsWrapperArgsHook.
183 export GDK_PIXBUF_MODULE_FILE="${
184 gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
196 --prefix XDG_DATA_DIRS : "${sound-theme-freedesktop}/share"
197 # Thumbnailers (for setting user profile pictures)
198 --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
199 --prefix XDG_DATA_DIRS : "${librsvg}/share"
200 # WM keyboard shortcuts
201 --prefix XDG_DATA_DIRS : "${mutter}/share"
205 separateDebugInfo = true;
208 updateScript = gnome.updateScript {
209 packageName = "gnome-control-center";
214 description = "Utilities to configure the GNOME desktop";
215 mainProgram = "gnome-control-center";
216 license = licenses.gpl2Plus;
217 maintainers = teams.gnome.members;
218 platforms = platforms.linux;