2012-06-04 19:38:47 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, babl, gegl, gtk, glib, gdk_pixbuf
|
2013-06-29 16:07:15 +02:00
|
|
|
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, libtiff
|
2012-06-04 19:38:47 +02:00
|
|
|
, webkit, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, jasper
|
|
|
|
, python, pygtk, libart_lgpl, libexif, gettext, xlibs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-03-26 15:39:24 +01:00
|
|
|
name = "gimp-2.8.4";
|
2012-06-04 19:38:47 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gimp.org/pub/gimp/v2.8/${name}.tar.bz2";
|
2013-03-26 15:39:24 +01:00
|
|
|
md5 = "392592e8755d046317878d226145900f";
|
2012-06-04 19:38:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool babl gegl gtk glib gdk_pixbuf pango cairo
|
2013-06-29 16:07:15 +02:00
|
|
|
freetype fontconfig lcms libpng libjpeg poppler libtiff webkit
|
2012-06-04 19:38:47 +02:00
|
|
|
libmng librsvg libwmf zlib libzip ghostscript aalib jasper
|
|
|
|
python pygtk libart_lgpl libexif gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
|
|
|
|
#configureFlags = [ "--disable-print" ];
|
|
|
|
|
|
|
|
# "screenshot" needs this.
|
|
|
|
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The GNU Image Manipulation Program";
|
|
|
|
homepage = http://www.gimp.org/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|