summary refs log tree commit diff
path: root/pkgs/development/libraries/gtk-mac-integration/default.nix
blob: 2281055c62b7f5768d172053e1392ccc9bfbc0db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, glib, gtk-doc, gtk, gobject-introspection }:

stdenv.mkDerivation {
  name = "gtk-mac-integration-2.0.8";

  src = fetchFromGitHub {
    owner = "GNOME";
    repo = "gtk-mac-integration";
    rev = "79e708870cdeea24ecdb036c77b4630104ae1776";
    sha256 = "1fbhnvj0rqc3089ypvgnpkp6ad2rr37v5qk38008dgamb9h7f3qs";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig gtk-doc gobject-introspection ];
  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;
  };
}