2009-11-04 22:28:11 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, freetype
|
2013-06-26 16:48:45 +02:00
|
|
|
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
|
2012-08-22 22:13:43 +02:00
|
|
|
, perlXMLParser, python, pygtk, gettext, xlibs, intltool, babl_0_0_22, gegl_0_0_22
|
2007-08-31 15:14:20 +02:00
|
|
|
}:
|
2005-09-12 00:38:47 +02:00
|
|
|
|
2009-11-04 22:28:11 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-02-16 12:17:16 +01:00
|
|
|
name = "gimp-2.6.12";
|
2013-06-25 09:17:34 +02:00
|
|
|
|
2005-09-12 00:38:47 +02:00
|
|
|
src = fetchurl {
|
2009-11-04 22:28:11 +01:00
|
|
|
url = "ftp://ftp.gtk.org/pub/gimp/v2.6/${name}.tar.bz2";
|
2012-02-16 12:17:16 +01:00
|
|
|
sha256 = "0qpcgaa4pdqqhyyy8vjvzfflxgsrrs25zk79gixzlnbzq3qwjlym";
|
2005-09-12 00:38:47 +02:00
|
|
|
};
|
2013-06-25 09:17:34 +02:00
|
|
|
|
2007-08-31 15:14:20 +02:00
|
|
|
buildInputs = [
|
2009-11-04 22:28:11 +01:00
|
|
|
pkgconfig gtk freetype fontconfig
|
2013-06-26 16:48:45 +02:00
|
|
|
libart_lgpl libtiff libjpeg libpng libexif zlib perl
|
2012-08-22 22:13:43 +02:00
|
|
|
perlXMLParser python pygtk gettext intltool babl_0_0_22 gegl_0_0_22
|
2007-08-31 15:14:20 +02:00
|
|
|
];
|
2005-09-12 00:38:47 +02:00
|
|
|
|
2009-08-28 01:32:13 +02:00
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
|
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
|
|
|
}
|