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 {
|
2007-10-26 01:14:28 +02:00
|
|
|
name = "gimp-2.4.0";
|
2005-09-12 00:38:47 +02:00
|
|
|
src = fetchurl {
|
2007-10-26 01:14:28 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gimp/v2.4/gimp-2.4.0.tar.bz2;
|
|
|
|
sha256 = "1p594r45hxk14469ma8g5j96nw5q9j6a3i0n6hbakfsh41izpsnx";
|
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
|
|
|
}
|