2019-06-16 21:59:06 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libxml2, xdg-desktop-portal, gtk3, glib, wrapGAppsHook, gsettings-desktop-schemas }:
|
2017-12-31 04:01:07 +01:00
|
|
|
|
2018-12-24 12:37:10 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xdg-desktop-portal-gtk";
|
2019-01-18 12:58:29 +01:00
|
|
|
version = "1.2.0";
|
2017-12-31 04:01:07 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "flatpak";
|
2018-12-24 12:37:10 +01:00
|
|
|
repo = pname;
|
2017-12-31 04:01:07 +01:00
|
|
|
rev = version;
|
2019-01-18 12:58:29 +01:00
|
|
|
sha256 = "1vgnsahljzrjcdjzv1dxhp2rf709pnf8595an82llnylwa8rdp1j";
|
2017-12-31 04:01:07 +01:00
|
|
|
};
|
|
|
|
|
2018-12-24 12:37:10 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig libxml2 xdg-desktop-portal wrapGAppsHook ];
|
2019-04-17 02:38:26 +02:00
|
|
|
buildInputs = [ glib gtk3 gsettings-desktop-schemas ];
|
2017-12-31 04:01:07 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Desktop integration portals for sandboxed apps";
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|