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