forked from mirrors/nixpkgs
Added ImageMagick
svn path=/nixpkgs/trunk/; revision=8939
This commit is contained in:
parent
c02cfe4fbe
commit
67ae8e3d38
18
pkgs/applications/graphics/ImageMagick/default.nix
Normal file
18
pkgs/applications/graphics/ImageMagick/default.nix
Normal 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 ];
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue