depot/third_party/nixpkgs/pkgs/development/libraries/gtk-mac-integration/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
881 B
Nix

{ stdenv, fetchFromGitLab, autoreconfHook, pkgconfig, glib, gtk-doc, gtk, gobject-introspection }:
stdenv.mkDerivation rec {
pname = "gtk-mac-integration";
version = "2.1.3";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
rev = "${pname}-${version}";
sha256 = "1w0agv4r0daklv5d2f3l0c10krravjq8bj9hsdsrpka48dbnqmap";
};
nativeBuildInputs = [ autoreconfHook pkgconfig gtk-doc gobject-introspection ];
buildInputs = [ glib ];
propagatedBuildInputs = [ gtk ];
preAutoreconf = ''
gtkdocize
'';
meta = with stdenv.lib; {
description = "Provides integration for GTK applications into the Mac desktop";
license = licenses.lgpl21;
homepage = "https://wiki.gnome.org/Projects/GTK/OSX/Integration";
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.darwin;
};
}