anchor.diff:      src =
         if stdenv.hostPlatform.system == "x86_64-linux" then
           fetchurl {
  -          urls = [
  -            "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz"
  -            "https://web.archive.org/web/https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz"
  -          ];
  -          sha256 = "1dqsqwxbd77g6gc0hvjmmg4flm3vwwv5y98m8d9wxyybp37vkmgd";
  +          url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz";
  +          sha256 = "06habqsl5gp13sym519r3qp188qwqqfw8p48wcs4zj3kcri6fjz0";
           }
         else if stdenv.hostPlatform.system == "i686-linux" then
           fetchurl {
  -          urls = [
  -            "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz"
  -            "https://web.archive.org/web/https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz"
  -          ];
  -          sha256 = "1q14hxjy66s5cpq19rshscsm679csb6p16c5p2agh5zd64cr4am6";
  +          url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz";
  +          sha256 = "1y4lr95mwilwr7gqsxqvygq4w3dcp4cjh8m06wdi3avwdzrjkgj9";
           }
         else
           throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";
   
  +    # nxusb-legacy is only needed for kernel versions < 3
       postUnpack = ''
         mv $(find . -type f -name nxclient.tar.gz) .
         mv $(find . -type f -name nxplayer.tar.gz) .
  
positive.code:       tar xf nxclient.tar.gz
        tar xf nxplayer.tar.gz
        rm $(find . -maxdepth 1 -type f)
      '';
  
      nativeBuildInputs = [ file makeWrapper autoPatchelfHook ];
  
negative.code:       description = "NoMachine remote desktop client (nxplayer)";
        homepage = "https://www.nomachine.com/";
        license = {
          fullName = "NoMachine 7 End-User License Agreement";
          url = "https://www.nomachine.com/licensing-7";
          free = false;
        };
        maintainers = with maintainers; [ talyz ];
  