anchor.diff:      sed -e "s|QCore.*applicationDirPath()|QString(\"${path}\")|" -i "${file}"
     '';
   
  -  buildPlugin = name: stdenv.mkDerivation {
  +  buildPlugin = name: mkDerivation {
       name = "ultrastar-manager-${name}-plugin-${version}";
       src = patchedSrc;
   
  
positive.code:   nativeBuildInputs = [ pkgconfig ];
    inherit buildInputs;
  
    meta = with stdenv.lib; {
      description = "Ultrastar karaoke song manager";
      homepage = https://github.com/UltraStar-Deluxe/UltraStar-Manager;
      license = licenses.gpl2;
  
negative.code:       repo = "UltraStar-Manager";
        inherit rev sha256;
      };
      in mkDerivation {
        name = "${src.name}-patched";
        inherit src;
        phases = [ "unpackPhase" "patchPhase" ];
  
        patchPhase = with lib; ''
          # we don’t want prebuild binaries checked into version control!
          rm -rf lib include
  
  