diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2016-11-22 02:14:00 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2017-01-10 23:51:36 -0600 |
commit | 8497ef1ed270674d6126039ffdc834aa61b82083 (patch) | |
tree | 033a1517899076f2afb512bc408cf0a35db620c2 /pkgs/applications/graphics/gimp | |
parent | f159279da57f1cffcd6f8a133372d6cc0a040a4f (diff) | |
download | nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.tar nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.tar.gz nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.tar.bz2 nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.tar.lz nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.tar.xz nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.tar.zst nixlib-8497ef1ed270674d6126039ffdc834aa61b82083.zip |
gimp: add darwin support
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r-- | pkgs/applications/graphics/gimp/2.8.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/gimp/2.8.nix b/pkgs/applications/graphics/gimp/2.8.nix index b123dcade1d7..4cb67cde7518 100644 --- a/pkgs/applications/graphics/gimp/2.8.nix +++ b/pkgs/applications/graphics/gimp/2.8.nix @@ -1,7 +1,8 @@ { stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk2, glib, gdk_pixbuf , pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff , webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper -, python2Packages, libart_lgpl, libexif, gettext, xorg }: +, python2Packages, libart_lgpl, libexif, gettext, xorg +, AppKit, Cocoa, gtk-mac-integration }: let inherit (python2Packages) pygtk wrapPython python; @@ -26,7 +27,8 @@ in stdenv.mkDerivation rec { libmng librsvg libwmf zlib libzip ghostscript aalib jasper python pygtk libart_lgpl libexif gettext xorg.libXpm wrapPython - ]; + ] + ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Cocoa gtk-mac-integration ]; pythonPath = [ pygtk ]; @@ -51,6 +53,6 @@ in stdenv.mkDerivation rec { description = "The GNU Image Manipulation Program"; homepage = http://www.gimp.org/; license = stdenv.lib.licenses.gpl3Plus; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; }; } |