anchor.diff:  { lib, stdenv, fetchFromGitHub, libjack2, libsndfile, xorg, freetype
   , libxkbcommon, cairo, glib, gnome, flac, libogg, libvorbis, libopus, cmake
  -, pango, pkg-config }:
  +, pango, pkg-config, catch2
  +}:
   
   stdenv.mkDerivation rec {
     pname = "sfizz";
  
positive.code:   nativeBuildInputs = [ cmake pkg-config ];
  
    postPatch = ''
      substituteInPlace plugins/editor/external/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp \
        --replace 'zenitypath = "zenity"' 'zenitypath = "${gnome.zenity}/bin/zenity"'
      substituteInPlace plugins/editor/src/editor/NativeHelpers.cpp \
  
negative.code:   '';
  
    cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DSFIZZ_TESTS=ON" ];
  
    doCheck = true;
  
    meta = with lib; {
      homepage = "https://github.com/sfztools/sfizz";
  