forked from mirrors/nixpkgs
ddbd818679
https://github.com/flatpak/xdg-desktop-portal-gtk/releases/tag/1.8.0 Also correct license and stop using pkg-config alias.
48 lines
917 B
Nix
48 lines
917 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, libxml2
|
|
, xdg-desktop-portal
|
|
, gtk3
|
|
, gnome3
|
|
, glib
|
|
, wrapGAppsHook
|
|
, gsettings-desktop-schemas
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xdg-desktop-portal-gtk";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "flatpak";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0987fwsdgkcd3mh3scvg2kyg4ay1rr5w16js4pl3pavw9yhl9lbi";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
libxml2
|
|
pkg-config
|
|
wrapGAppsHook
|
|
xdg-desktop-portal
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gsettings-desktop-schemas
|
|
gtk3
|
|
gnome3.gnome-desktop
|
|
gnome3.gnome-settings-daemon # schemas needed for settings api (fonts, etc)
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Desktop integration portals for sandboxed apps";
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl2Plus;
|
|
};
|
|
}
|