anchor.diff:    name = "ImageMagick-${version}";
   
     src = fetchurl {
  -    url = "mirror://imagemagick/${name}.tar.bz2";
  -    sha256 = "0byaawz7zbc75rz9hraraaggpn98lajkrad4mv5z3b2nlln2nf4i";
  +    url = "mirror://imagemagick/${name}.tar.xz";
  +    sha256 = "035j3i3cm29bwc9lipn838gznswrc69g7mwh8h9jj24ss2dmqrf1";
     };
   
     configureFlags = ''
  
positive.code: , libtool
  , jasper
  , libX11
  , tetex ? null
  , librsvg ? null
  }:
  
negative.code:     ${if librsvg != null then "--with-rsvg" else ""}
    '';
  
    propagatedBuildInputs =
      [ bzip2 freetype ghostscript libjpeg libpng libtiff libxml2 zlib librsvg
      libtool jasper libX11 ];
  
    buildInputs = [ tetex graphviz ];
  
    buildNativeInputs = [ xz ];
  
    preConfigure = if tetex != null then
      ''
  