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

25 lines
705 B
Nix
Raw Normal View History

2017-12-31 03:01:07 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libxml2, xdg-desktop-portal, gtk3, glib }:
let
version = "0.99";
2017-12-31 03:01:07 +00:00
in stdenv.mkDerivation rec {
name = "xdg-desktop-portal-gtk-${version}";
src = fetchFromGitHub {
owner = "flatpak";
repo = "xdg-desktop-portal-gtk";
rev = version;
sha256 = "0jnmrl55gpvz06hy0832kcby4y84f0a1hiali6qy1lcmyqhm3v59";
2017-12-31 03:01:07 +00:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig libxml2 xdg-desktop-portal ];
buildInputs = [ glib gtk3 ];
meta = with stdenv.lib; {
description = "Desktop integration portals for sandboxed apps";
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
license = licenses.lgpl21;
};
}