anchor.diff:            computers, each of which may be prone to failures.
           '';
           maintainers = with maintainers; [ illustris ];
  -        platforms = attrNames sha256;
  +        platforms = attrNames hash;
         };
       };
   in
  
positive.code:   };
    hadoop_3_2 = common rec {
      pname = "hadoop";
      version = "3.2.2";
      sha256.x86_64-linux = "1hxq297cqvkfgz2yfdiwa3l28g44i2abv5921k2d6b4pqd33prwp";
      jdk = jdk8_headless;
      # not using native libs because of broken openssl_1_0_2 dependency
      # can be manually overriden
  
negative.code: assert elem stdenv.system [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
  
  let
    common = { pname, versions, untarDir ? "${pname}-${version}", hash, jdk, openssl ? null, nativeLibs ? [ ], libPatches ? "", tests }:
      stdenv.mkDerivation rec {
        inherit pname jdk libPatches untarDir openssl;
        version = versions.${stdenv.system};
        src = fetchurl {
          url = "mirror://apache/hadoop/common/hadoop-${version}/hadoop-${version}" + optionalString stdenv.isAarch64 "-aarch64" + ".tar.gz";
          hash = hash.${stdenv.system};
        };
        doCheck = true;
  
  