anchor.diff: -{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, libtool
  +{ lib, stdenv, fetchFromGitHub, fetchpatch, pkgconfig, libtool
   , bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
   , lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
   , ApplicationServices
  
positive.code:     else throw "ImageMagick is not supported on this platform.";
  
    cfg = {
      version = "6.9.9-26";
      sha256 = "10rcq7b9hhz50m4yqnm4g3iai7lr9jkglb7sm49ycw59arrkmwnw";
      patches = [];
    }
      # Freeze version on mingw so we don't need to port the patch too often.
  
negative.code:   name = "imagemagick-${version}";
    inherit (cfg) version;
  
    src = fetchFromGitHub {
      owner = "ImageMagick";
      repo = "ImageMagick";
      rev = cfg.version;
      inherit (cfg) sha256;
    };
  
  