nixpkgs/pkgs/development/libraries/gtk-mac-integration/default.nix

31 lines
881 B
Nix
Raw Normal View History

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
};
nativeBuildInputs = [ autoreconfHook pkgconfig gtk-doc gobject-introspection ];
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; {
description = "Provides integration for GTK applications into the Mac desktop";
2016-11-23 05:09:17 +00:00
license = licenses.lgpl21;
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;
};
}