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-08-23 10:47:14 +02:00
|
|
|
name = "gimp-2.4.7";
|
2005-09-12 00:38:47 +02:00
|
|
|
src = fetchurl {
|
2008-08-23 10:47:14 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gimp/v2.4/gimp-2.4.7.tar.bz2;
|
|
|
|
sha256 = "1j8904cy5sp021fz7ikh2dxm339a36ihns94qr9i1y7sb3qfx66k";
|
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
|
|
|
}
|