nixpkgs-suyu/pkgs/development/libraries/gtk-mac-integration/default.nix
Hamish Mackenzie 4d5ed187d3 gtk-mac-integration: fix gtk3 version
Include a Gtk3 version of gtk-mac-integration.
Add gobjectIntrospection to gtk-mac-integration.
Use propagatedBuildInputs for gtk.
2017-04-10 23:42:04 -07:00

31 lines
862 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, glib, gtk_doc, gtk, gobjectIntrospection }:
stdenv.mkDerivation rec {
name = "gtk-mac-integration-2.0.8";
src = fetchFromGitHub {
owner = "GNOME";
repo = "gtk-mac-integration";
rev = "79e708870cdeea24ecdb036c77b4630104ae1776";
sha256 = "1fbhnvj0rqc3089ypvgnpkp6ad2rr37v5qk38008dgamb9h7f3qs";
};
nativeBuildInputs = [ autoreconfHook pkgconfig gtk_doc gobjectIntrospection ];
buildInputs = [ glib ];
propagatedBuildInputs = [ gtk ];
preAutoreconf = ''
gtkdocize
'';
meta = with lib; {
description = "Provides integration for Gtk+ applications into the Mac desktop";
license = licenses.lgpl21;
homepage = https://wiki.gnome.org/Projects/GTK+/OSX/Integration;
maintainers = [ maintainers.matthewbauer ];
platforms = platforms.darwin;
};
}