13 , gsettings-desktop-schemas
14 , buildPortalsInGnome ? true
17 stdenv.mkDerivation rec {
18 pname = "xdg-desktop-portal-gtk";
21 src = fetchFromGitHub {
25 sha256 = "I9xQgiE3lNb2vRodO5R1y40lqoOKzALskrVePidant4=";
38 gsettings-desktop-schemas # settings exposed by settings portal
41 gnome.gnome-settings-daemon # schemas needed for settings api (mostly useless now that fonts were moved to g-d-s)
44 configureFlags = if buildPortalsInGnome then [
52 # These are now enabled by default, even though we do not need them for GNOME.
53 # https://github.com/flatpak/xdg-desktop-portal-gtk/issues/355
55 "--disable-appchooser"
59 description = "Desktop integration portals for sandboxed apps";
60 maintainers = with maintainers; [ jtojnar ];
61 platforms = platforms.linux;
62 license = licenses.lgpl2Plus;