2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, glib, gtk-doc, gtk, gobject-introspection }:
|
2016-11-22 21:09:17 -08:00
|
|
|
|
2020-04-14 02:38:13 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtk-mac-integration";
|
|
|
|
version = "2.1.3";
|
2016-11-22 21:09:17 -08:00
|
|
|
|
2020-04-14 02:38:13 -07:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
2016-11-22 21:09:17 -08:00
|
|
|
owner = "GNOME";
|
2020-04-14 02:38:13 -07:00
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
|
|
|
sha256 = "1w0agv4r0daklv5d2f3l0c10krravjq8bj9hsdsrpka48dbnqmap";
|
2016-11-22 21:09:17 -08:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config gtk-doc gobject-introspection ];
|
2017-04-10 23:26:42 -07:00
|
|
|
buildInputs = [ glib ];
|
|
|
|
propagatedBuildInputs = [ gtk ];
|
2016-11-22 21:09:17 -08:00
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
gtkdocize
|
|
|
|
'';
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2019-09-03 15:49:40 -07:00
|
|
|
description = "Provides integration for GTK applications into the Mac desktop";
|
2016-11-22 21:09:17 -08:00
|
|
|
license = licenses.lgpl21;
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GTK/OSX/Integration";
|
2020-04-14 02:38:13 -07:00
|
|
|
maintainers = with maintainers; [ matthewbauer ];
|
2016-11-22 21:09:17 -08:00
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|