anchor.diff:      ''; };
   
   in stdenv.mkDerivation rec {
  -  name = "neoload-4.0.4";
  +  name = "neoload-4.1.0";
   
     src = fetchurl (
       if stdenv.system == "x86_64-linux" then
  -      { url = http://www.neotys.com/documents/download/neoload/v4.0/neoload_4_0_4_linux_x64.sh;
  -        sha256 = "1w5pqik1998irpamx6y4rf2v5v34nm8xm6cwa1a8j0agawv992w2"; }
  +      { url = http://www.neotys.com/documents/download/neoload/v4.1/neoload_4_1_0_linux_x64.sh;
  +        sha256 = "07r2pkspdylwi1ba36mqswxsz0xadkw6qn59ljkyw2hsvazd2824"; }
       else
  -      { url = http://www.neotys.com/documents/download/neoload/v4.0/neoload_4_0_4_linux_x86.sh;
  -        sha256 = "0k49kcwnimax9q7d2kychcbhh4zlixlx4ak9jgrm901zpkhw2f3b"; } );
  +      { url = http://www.neotys.com/documents/download/neoload/v4.1/neoload_4_1_0_linux_x86.sh;
  +        sha256 = "1sd6fc35881dqr8m8qsgbblsfx97agam50w9iasd9hxmws7n6pfs"; } );
   
     buildInputs = [ makeWrapper ];
     phases = [ "installPhase" ];
  
positive.code:     done
      rm $out/lib/neoload/*.desktop $out/lib/neoload/uninstall
  
      ln -s ${oraclejre}/bin $out/lib/neoload/jre
    '';
  
    meta = {
  
negative.code:   # TODO: load generator / monitoring agent only builds
  
    installPhase = ''
      mkdir -p $out/lib/neoload
      ln -s ${jre} $out/lib/neoload/jre
  
      # the installer wants to use its internal JRE
      # disable this. The extra spaces are needed because the installer carries
      # a binary payload, so should not change in size
  