mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
imagemagick: Drop build-time dependency on Graphviz
This commit is contained in:
parent
16f722500e
commit
fb8a2dafd9
|
@ -2,7 +2,6 @@
|
|||
, fetchurl
|
||||
, bzip2
|
||||
, freetype
|
||||
, graphviz
|
||||
, ghostscript ? null
|
||||
, libjpeg
|
||||
, libpng
|
||||
|
@ -27,6 +26,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1bpj8676mph5cvyjsdgf27i6yg2iw9iskk5c69mvpxkyawgjw1vg";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure = if tetex != null then
|
||||
''
|
||||
export DVIDecodeDelegate=${tetex}/bin/dvips
|
||||
|
@ -42,9 +43,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
propagatedBuildInputs =
|
||||
[ bzip2 freetype libjpeg libpng libtiff libxml2 zlib librsvg
|
||||
libtool jasper libX11 ] ++ stdenv.lib.optional (ghostscript != null && stdenv.system != "x86_64-darwin") ghostscript;
|
||||
libtool jasper libX11
|
||||
] ++ stdenv.lib.optional (ghostscript != null && stdenv.system != "x86_64-darwin") ghostscript;
|
||||
|
||||
buildInputs = [ tetex graphviz ];
|
||||
buildInputs = [ tetex ];
|
||||
|
||||
postInstall = ''(cd "$out/include" && ln -s ImageMagick* ImageMagick)'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue