12 gsettings-desktop-schemas,
14 gnome-settings-daemon,
32 stdenv.mkDerivation (finalAttrs: {
33 pname = "budgie-session";
36 src = fetchFromGitHub {
37 owner = "BuddiesOfBudgie";
38 repo = "budgie-session";
39 rev = "v${finalAttrs.version}";
40 hash = "sha256-mz+Yh3NK2Tag+MWVofFFXYYXspxhmYBD6YCiuATpZSI=";
50 src = ./fix-paths.patch;
51 gsettings = lib.getExe' glib "gsettings";
52 dbusLaunch = lib.getExe' dbus "dbus-launch";
53 bash = lib.getExe bash;
80 gsettings-desktop-schemas
86 chmod +x meson_post_install.py # patchShebangs requires executable file
87 patchShebangs meson_post_install.py
90 # `bin/budgie-session` will reset the environment when run in wayland, we
91 # therefor wrap `libexec/budgie-session-binary` instead which is the actual
92 # binary needing wrapping
94 wrapProgram "$out/libexec/budgie-session-binary" \
95 --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
96 --suffix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
97 --suffix XDG_CONFIG_DIRS : "${gnome-settings-daemon}/etc/xdg"
100 separateDebugInfo = true;
103 updateScript = nix-update-script { };
107 description = "Session manager for Budgie";
108 homepage = "https://github.com/BuddiesOfBudgie/budgie-session";
109 changelog = "https://github.com/BuddiesOfBudgie/budgie-session/releases/tag/v${finalAttrs.version}";
110 license = lib.licenses.gpl2Plus;
111 maintainers = lib.teams.budgie.members;
112 platforms = lib.platforms.linux;