2007-08-31 15:14:20 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, libgtkhtml, freetype
|
2006-07-12 01:28:29 +02:00
|
|
|
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
|
2007-08-31 15:14:20 +02:00
|
|
|
, perlXMLParser, python, pygtk, gettext, xlibs
|
|
|
|
}:
|
2005-09-12 00:38:47 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-05-31 13:59:41 +02:00
|
|
|
name = "gimp-2.4.6";
|
2005-09-12 00:38:47 +02:00
|
|
|
src = fetchurl {
|
2008-05-31 13:59:41 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gimp/v2.4/gimp-2.4.6.tar.bz2;
|
|
|
|
sha256 = "1shbrrncx99pbn66xpya0a55cv18g4lvl9spc3ry906z1vkzkblr";
|
2005-09-12 00:38:47 +02:00
|
|
|
};
|
|
|
|
|
2007-08-31 15:14:20 +02:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig gtk libgtkhtml freetype fontconfig
|
|
|
|
libart_lgpl libtiff libjpeg libpng libexif zlib perl
|
|
|
|
perlXMLParser python pygtk gettext
|
|
|
|
];
|
2005-09-12 00:38:47 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--disable-print" ];
|
2007-08-31 15:14:20 +02: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-12 00:38:47 +02:00
|
|
|
}
|