summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-11-22 23:09:17 -0600
committerJohannes Bornhold <johannes@bornhold.name>2017-01-07 19:21:42 +0100
commitea053cad7a3c54a8fcb29d697c5c07f1f31c0937 (patch)
treedde9ddc0fc35f83a8c7834afcf7f3480bc904770
parent0f67005c4a2651ab0d9a48468a4873cff3551b8b (diff)
downloadnixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.tar
nixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.tar.gz
nixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.tar.bz2
nixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.tar.lz
nixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.tar.xz
nixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.tar.zst
nixpkgs-ea053cad7a3c54a8fcb29d697c5c07f1f31c0937.zip
gtk-mac-integration: init at 2.0.8
-rw-r--r--pkgs/development/libraries/gtk-mac-integration/default.nix30
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gtk-mac-integration/default.nix b/pkgs/development/libraries/gtk-mac-integration/default.nix
new file mode 100644
index 00000000000..30ac8f2fe28
--- /dev/null
+++ b/pkgs/development/libraries/gtk-mac-integration/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, glib, gtk_doc, gtk }:
+
+stdenv.mkDerivation rec {
+  name = "gtk-mac-integration-2.0.8";
+
+  src = fetchFromGitHub {
+    owner = "GNOME";
+    repo = "gtk-mac-integration";
+    rev = "79e708870cdeea24ecdb036c77b4630104ae1776";
+    sha256 = "1fbhnvj0rqc3089ypvgnpkp6ad2rr37v5qk38008dgamb9h7f3qs";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkgconfig gtk_doc ];
+  buildInputs = [ glib 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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index ba5358f1906..0d79a295854 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7515,6 +7515,10 @@ in
 
   gtk-sharp-beans = callPackage ../development/libraries/gtk-sharp-beans { };
 
+  gtk-mac-integration = callPackage ../development/libraries/gtk-mac-integration {
+    gtk = gtk2;
+  };
+
   gtkspell2 = callPackage ../development/libraries/gtkspell { };
 
   gtkspell3 = callPackage ../development/libraries/gtkspell/3.nix { };