anchor.diff:      version = "2.0.3";
       buildInputs = with pkgs; [ fftw ];
       nativeBuildInputs = with pkgs; [ autoreconfHook ];
  -    makeFlags = [ "GIMP_LIBDIR=${placeholder "out"}/lib/gimp/2.0" ];
  +    makeFlags = [ "GIMP_LIBDIR=${placeholder "out"}/${gimp.targetLibDir}" ];
       src = fetchFromGitHub {
         owner = "bootchk";
         repo = "resynthesizer";
  
positive.code:         for p in "$@"; do cp "$p" -r $out/${targetPluginDir}/${name}; done
        }
      '';
    }
    // a
    // {
        name = "gimp-plugin-${name}";
        buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []);
        nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []);
      }
    );
  
  
negative.code:   inherit (pkgs) stdenv fetchurl pkgconfig intltool glib fetchFromGitHub;
    inherit (gimp) targetPluginDir targetScriptDir;
  
    pluginDerivation = attrs: let
      name = attrs.name or "${attrs.pname}-${attrs.version}";
    in stdenv.mkDerivation ({
      prePhases = "extraLib";
      extraLib = ''
  