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