mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
8ff2647169
found the source of the binary package containing the .ppd files Still impure but works. See comment. svn path=/nixpkgs/trunk/; revision=16881
33 lines
940 B
Nix
33 lines
940 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk, libgtkhtml, freetype
|
|
, fontconfig, libart_lgpl, libtiff, libjpeg, libpng, libexif, zlib, perl
|
|
, perlXMLParser, python, pygtk, gettext, xlibs, intltool, babl, gegl
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gimp-2.6.6";
|
|
|
|
src = fetchurl {
|
|
url = ftp://ftp.gtk.org/pub/gimp/v2.6/gimp-2.6.6.tar.bz2;
|
|
sha256 = "0l875y4krqxxappnbw08s44bp3njjjriwyl8br5wmx25a3x63hjk";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig gtk libgtkhtml freetype fontconfig
|
|
libart_lgpl libtiff libjpeg libpng libexif zlib perl
|
|
perlXMLParser python pygtk gettext intltool babl gegl
|
|
];
|
|
|
|
passthru = { inherit gtk; }; # probably its a good idea to use the same gtk in plugins ?
|
|
|
|
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";
|
|
};
|
|
}
|