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

24 lines
740 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libxml2, xdg-desktop-portal, gtk3, glib, wrapGAppsHook, gnome3 }:
2017-12-31 03:01:07 +00:00
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-gtk";
version = "1.1.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 = "1djgsp3n10w6lamwwjn64p9722lvxpalj26h19zscbspnhfldb4f";
2017-12-31 03:01:07 +00:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig libxml2 xdg-desktop-portal wrapGAppsHook ];
buildInputs = [ glib gtk3 gnome3.gsettings-desktop-schemas ];
2017-12-31 03:01:07 +00:00
meta = with stdenv.lib; {
description = "Desktop integration portals for sandboxed apps";
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
license = licenses.lgpl21;
};
}