anchor.diff:      [ mesa
         xorg.libXt
         xorg.libX11
  +      xorg.libXrender
         cairo
         libpng
         gtk
  
positive.code:   name = "google-talk-plugin-${version}";
  
    # You can get the upstream version and SHA-1 hash from the following URLs:
    # http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-amd64/Packages
    # http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
    version = "5.1.5.0";
  
    src =
      if stdenv.system == "x86_64-linux" then
        fetchurl {
          url = "${baseURL}/google-talkplugin_${version}-1_amd64.deb";
          sha1 = "fc830f4c7f5816f4578ec73e6d4aef059ad4a0b1";
        }
      else if stdenv.system == "i686-linux" then
        fetchurl {
          url = "${baseURL}/google-talkplugin_${version}-1_i386.deb";
          sha1 = "9b7043c3585b3479ba11aabb7b8af755a61df963";
        }
      else throw "Google Talk does not support your platform.";
  
  
negative.code:     ''
        plugins=$out/lib/mozilla/plugins
        mkdir -p $plugins
        cp opt/google/talkplugin/*.so $plugins
  
        for i in libnpgoogletalk.so libppgoogletalk.so libppo1d.so; do
          patchelf --set-rpath "${makeLibraryPath [ stdenv.gcc.gcc xorg.libX11 ]}:${stdenv.gcc.gcc}/lib64" $plugins/$i
        done
  
        for i in libgoogletalkremoting.so libnpo1d.so; do
          patchelf --set-rpath "$out/libexec/google/talkplugin/lib:${rpathPlugin}:${stdenv.gcc.gcc}/lib64" $plugins/$i
        done
  
        mkdir -p $out/libexec/google/talkplugin
        cp -prd opt/google/talkplugin/{data,GoogleTalkPlugin,locale,remoting24x24.png,windowpicker.glade} $out/libexec/google/talkplugin/
  
        patchelf \
          --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
  