anchor.diff:    arch = if stdenv.is64bit then "amd64" else "x86";
   in stdenv.mkDerivation rec {
     pname = "teamspeak-server";
  -  version = "3.13.3";
  +  version = "3.13.5";
   
     src = fetchurl {
       url = "https://files.teamspeak-services.com/releases/server/${version}/teamspeak3-server_linux_${arch}-${version}.tar.bz2";
       sha256 = if stdenv.is64bit
  -      then "sha256-+b9S0ekQmXF5KwvVcmHIDpp0iZRO2W1ls8eYhDzjUUw="
  -      else "sha256-Qu6xPzbUdqO93j353cfQILlFYqmwFSnFWG9TjniX0+c=";
  +      then "sha256-2tSX/ET2lZsi0mVB3KnbnBXMSTRsneGUA8w6mZ6TmlY="
  +      else "sha256-RdxG4nGXTTSY+P5oZu4uP5l7gKcU9C6uIILyNldSK50=";
     };
   
     buildInputs = [ stdenv.cc.cc postgresql.lib ];
  
positive.code:     mkdir -p $out/bin/
      ln -s $out/lib/teamspeak/ts3server $out/bin/ts3server
      ln -s $out/lib/teamspeak/tsdns/tsdnsserver $out/bin/tsdnsserver
    '';
  
    passthru.updateScript = writeScript "update-teampeak-server" ''
      #!/usr/bin/env nix-shell
      #!nix-shell -i bash -p common-updater-scripts curl gnugrep gnused
  
      set -eu -o pipefail
  
      version=$( \
          curl -s "https://www.teamspeak.de/download/teamspeak-3-amd64-server-linux/" \
          | grep softwareVersion \
          | sed -E -e 's/^.*<span itemprop="softwareVersion">([^<]+)<\/span>.*$/\1/' \
      )
  
      versionOld=$(nix-instantiate --eval --strict -A "teamspeak_server.version")
  
negative.code:   nativeBuildInputs = [ autoPatchelfHook ];
  
    installPhase = ''
      runHook preInstall
  
      # Install files.
      mkdir -p $out/lib/teamspeak
      mv * $out/lib/teamspeak/
  