Added ImageMagick

svn path=/nixpkgs/trunk/; revision=8939
This commit is contained in:
Michael Raskin 2007-07-01 22:31:24 +00:00
parent c02cfe4fbe
commit 67ae8e3d38
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, bzip2, freetype, graphviz, ghostscript,
libjpeg, libpng, libtiff, libX11, libxml2, zlib}:
stdenv.mkDerivation {
name = "ImageMagick";
src = fetchurl {
url = ftp://ftp.carnet.hr/misc/imagemagick/ImageMagick-6.3.4-7.tar.bz2;
sha1 = "bead7b27d951cb9c780c76771562e9e7c7c23d16";
# cdc388e20580de2a0f91f68e1228c68b0735f385
};
configureFlags = " --with-dots --with-gs-font-dir="+ ghostscript +
"/share/ghostscript/fonts --with-gslib ";
buildInputs = [bzip2 freetype ghostscript graphviz libjpeg libpng
libtiff libX11 libxml2 zlib ];
}

View File

@ -2894,6 +2894,12 @@ rec {
inherit fetchurl stdenv perl;
};
imagemagick = import ../applications/graphics/ImageMagick {
inherit stdenv fetchurl bzip2 freetype graphviz
ghostscript libjpeg libpng libtiff libxml2 zlib;
inherit (xlibs) libX11;
};
inkscape = import ../applications/graphics/inkscape {
inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib
popt libxml2 libxslt libpng boehmgc fontconfig gtkmm