nixpkgs/pkgs/development/libraries/xdg-desktop-portal-gtk/default.nix

48 lines
915 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libxml2
, xdg-desktop-portal
, gtk3
, gnome3
, glib
, wrapGAppsHook
, gsettings-desktop-schemas
}:
2017-12-31 03:01:07 +00:00
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-gtk";
version = "1.8.0";
2017-12-31 03:01:07 +00:00
src = fetchFromGitHub {
owner = "flatpak";
repo = pname;
2017-12-31 03:01:07 +00:00
rev = version;
sha256 = "0987fwsdgkcd3mh3scvg2kyg4ay1rr5w16js4pl3pavw9yhl9lbi";
2017-12-31 03:01:07 +00:00
};
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)
];
2017-12-31 03:01:07 +00:00
meta = with lib; {
2017-12-31 03:01:07 +00:00
description = "Desktop integration portals for sandboxed apps";
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
license = licenses.lgpl2Plus;
2017-12-31 03:01:07 +00:00
};
}