anchor.diff:      libjpeg
       libgsf
       libexif
  +    libheif
  +    libpng
       python27
       libpng
       expat
  
positive.code:     owner = "libvips";
      repo = "libvips";
      rev = "v${version}";
      sha256 = "01vgvzlygg3fzpinb0x1rdm2sqvnqxmvxbnlbg73ygdadv3l2s0v";
      # Remove unicode file names which leads to different checksums on HFS+
      # vs. other filesystems because of unicode normalisation.
      extraPostFetch = ''
        rm -r $out/test/test-suite/images/
      '';
    };
  
    patches = [
      # autogen.sh should not run configure
      # https://github.com/libvips/libvips/pull/1566
      (fetchpatch {
        url = "https://github.com/libvips/libvips/commit/97a92e0e6abab652fdf99313b138bfd77d70deb4.patch";
        sha256 = "0w1sm5wmvfp8svdpk8mz57c1n6zzy3snq0g2f8yxjamv0d2gw2dp";
      })
    ];
  
    nativeBuildInputs = [
      pkgconfig
  
negative.code: , libjpeg
  , libgsf
  , libexif
  , libheif
  , ApplicationServices
  , python27
  , libpng
  , fetchFromGitHub
  , fetchpatch
  , autoreconfHook
  