2007-08-31 13:14:20 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, libgtkhtml, freetype
|
2006-07-11 23:28:29 +00:00
|
|
|
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
|
2008-10-09 23:21:39 +00:00
|
|
|
, perlXMLParser, python, pygtk, gettext, xlibs, intltool, babl, gegl
|
2007-08-31 13:14:20 +00:00
|
|
|
}:
|
2005-09-11 22:38:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-03-20 21:11:37 +00:00
|
|
|
name = "gimp-2.6.6";
|
2009-02-02 12:40:05 +00:00
|
|
|
|
2005-09-11 22:38:47 +00:00
|
|
|
src = fetchurl {
|
2009-03-20 21:11:37 +00:00
|
|
|
url = ftp://ftp.gtk.org/pub/gimp/v2.6/gimp-2.6.6.tar.bz2;
|
|
|
|
sha256 = "0l875y4krqxxappnbw08s44bp3njjjriwyl8br5wmx25a3x63hjk";
|
2005-09-11 22:38:47 +00:00
|
|
|
};
|
|
|
|
|
2007-08-31 13:14:20 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig gtk libgtkhtml freetype fontconfig
|
|
|
|
libart_lgpl libtiff libjpeg libpng libexif zlib perl
|
2008-10-09 23:21:39 +00:00
|
|
|
perlXMLParser python pygtk gettext intltool babl gegl
|
2007-08-31 13:14:20 +00:00
|
|
|
];
|
2005-09-11 22:38:47 +00:00
|
|
|
|
2009-08-27 23:32:13 +00:00
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
|
2005-09-11 22:38:47 +00:00
|
|
|
configureFlags = [ "--disable-print" ];
|
2007-08-31 13:14:20 +00:00
|
|
|
|
|
|
|
# "screenshot" needs this.
|
|
|
|
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The GNU Image Manipulation Program";
|
|
|
|
homepage = http://www.gimp.org/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
2005-09-11 22:38:47 +00:00
|
|
|
}
|