2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-07-22 20:08:00 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
2020-10-09 19:12:12 +00:00
|
|
|
, pkg-config
|
2019-07-22 20:08:00 +00:00
|
|
|
, libxml2
|
|
|
|
, xdg-desktop-portal
|
|
|
|
, gtk3
|
2020-02-08 06:02:23 +00:00
|
|
|
, gnome3
|
2019-07-22 20:08:00 +00:00
|
|
|
, glib
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
}:
|
2017-12-31 03:01:07 +00:00
|
|
|
|
2018-12-24 11:37:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xdg-desktop-portal-gtk";
|
2020-10-09 19:12:12 +00:00
|
|
|
version = "1.8.0";
|
2017-12-31 03:01:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "flatpak";
|
2018-12-24 11:37:10 +00:00
|
|
|
repo = pname;
|
2017-12-31 03:01:07 +00:00
|
|
|
rev = version;
|
2020-10-09 19:12:12 +00:00
|
|
|
sha256 = "0987fwsdgkcd3mh3scvg2kyg4ay1rr5w16js4pl3pavw9yhl9lbi";
|
2017-12-31 03:01:07 +00:00
|
|
|
};
|
|
|
|
|
2019-07-22 20:08:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
libxml2
|
2020-10-09 19:12:12 +00:00
|
|
|
pkg-config
|
2019-07-22 20:08:00 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
xdg-desktop-portal
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
2020-02-08 06:02:23 +00:00
|
|
|
gnome3.gnome-desktop
|
2020-07-16 21:49:58 +00:00
|
|
|
gnome3.gnome-settings-daemon # schemas needed for settings api (fonts, etc)
|
2019-07-22 20:08:00 +00:00
|
|
|
];
|
2017-12-31 03:01:07 +00:00
|
|
|
|
2021-01-21 17:00:13 +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;
|
2020-10-09 19:12:12 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2017-12-31 03:01:07 +00:00
|
|
|
};
|
|
|
|
}
|