anchor.diff:    nativeBuildInputs = [ pkgconfig ];
     inherit buildInputs;
   
  -  meta = with stdenv.lib; {
  +  meta = with lib; {
       description = "Ultrastar karaoke song manager";
       homepage = https://github.com/UltraStar-Deluxe/UltraStar-Manager;
       license = licenses.gpl2;
  
positive.code:       paths = map buildPlugin plugins;
      };
  
  in stdenv.mkDerivation {
    pname = "ultrastar-manager";
    inherit version;
    src = patchedSrc;
  
negative.code:     sed -e "s|QCore.*applicationDirPath()|QString(\"${path}\")|" -i "${file}"
    '';
  
    buildPlugin = name: mkDerivation {
      name = "ultrastar-manager-${name}-plugin-${version}";
      src = patchedSrc;
  
  