ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
63 lines
1.2 KiB
Nix
63 lines
1.2 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook4
|
|
, fontconfig
|
|
, glib
|
|
, gsettings-desktop-schemas
|
|
, gtk4
|
|
, libadwaita
|
|
, gnome-desktop
|
|
, xdg-desktop-portal
|
|
, wayland
|
|
, gnome
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xdg-desktop-portal-gnome";
|
|
version = "42.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "TtEFpmfkYyVGcQPcc0bSAj+uwdXsFTvRcxbak49TrOA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
fontconfig
|
|
glib
|
|
gsettings-desktop-schemas # settings exposed by settings portal
|
|
gtk4
|
|
libadwaita
|
|
gnome-desktop
|
|
xdg-desktop-portal
|
|
wayland # required by GTK 4
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Backend implementation for xdg-desktop-portal for the GNOME desktop environment";
|
|
homepage = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome";
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl21Plus;
|
|
};
|
|
}
|