mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
2b8ec976cf
svn path=/nixpkgs/trunk/; revision=10923
30 lines
804 B
Nix
30 lines
804 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk, libgtkhtml, freetype
|
|
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
|
|
, perlXMLParser, python, pygtk, gettext, xlibs
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gimp-2.4.5";
|
|
src = fetchurl {
|
|
url = ftp://ftp.gtk.org/pub/gimp/v2.4/gimp-2.4.5.tar.bz2;
|
|
sha256 = "1bnm92n874vg9pva374an79g6gizkjb4ifdxy5r5a905wv117pys";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig gtk libgtkhtml freetype fontconfig
|
|
libart_lgpl libtiff libjpeg libpng libexif zlib perl
|
|
perlXMLParser python pygtk gettext
|
|
];
|
|
|
|
configureFlags = [ "--disable-print" ];
|
|
|
|
# "screenshot" needs this.
|
|
NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib";
|
|
|
|
meta = {
|
|
description = "The GNU Image Manipulation Program";
|
|
homepage = http://www.gimp.org/;
|
|
license = "GPL";
|
|
};
|
|
}
|