anchor.diff:  { lib, stdenv, fetchFromGitHub, cmake, makeWrapper, boost, libpng, libiconv
  -, libjpeg, zlib, openssl, libwebp, catch }:
  +, libjpeg, zlib, openssl, libwebp, catch2 }:
   
   stdenv.mkDerivation rec {
     pname = "arc_unpacker";
  
positive.code:     sha256 = "1xxrc9nww0rla3yh10z6glv05ax4rynwwbd0cdvkp7gyqzrv97xp";
    };
  
    nativeBuildInputs = [ cmake makeWrapper catch ];
    buildInputs = [ boost libpng libjpeg zlib openssl libwebp ]
      ++ lib.optionals stdenv.isDarwin [ libiconv ];
  
    postPatch = ''
      cp ${catch}/include/catch/catch.hpp tests/test_support/catch.h
    '';
  
    checkPhase = ''
  
negative.code:     runHook postInstall
    '';
  
    # A few tests fail on aarch64-linux
    doCheck = !(stdenv.isLinux && stdenv.isAarch64);
  
    meta = with lib; {
      description = "A tool to extract files from visual novel archives";
  