anchor.diff:    nativeBuildInputs = [ cmake pkg-config ];
   
     postPatch = ''
  +    cp ${catch2}/include/catch2/catch.hpp tests/catch2/catch.hpp
  +
       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 \
  
positive.code:   '';
  
    cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DSFIZZ_TESTS=ON" ];
  
    meta = with lib; {
      homepage = "https://github.com/sfztools/sfizz";
  
negative.code: { lib, stdenv, fetchFromGitHub, libjack2, libsndfile, xorg, freetype
  , libxkbcommon, cairo, glib, gnome, flac, libogg, libvorbis, libopus, cmake
  , pango, pkg-config, catch2
  }:
  
  stdenv.mkDerivation rec {
    pname = "sfizz";
  