anchor.diff:    version = "11.52.13";
     openjdk = "11.0.13";
   
  -  sha256_linux = "77a126669b26b3a89e0117b0f28cddfcd24fcd7699b2c1d35f921487148b9a9f";
  -  sha256_darwin = "a96f9f859350f977319ebb5c2a999c182ab6b99b24c60e19d97c54367868a63e";
  +  sha256_x64_linux = "77a126669b26b3a89e0117b0f28cddfcd24fcd7699b2c1d35f921487148b9a9f";
  +  sha256_x64_darwin = "a96f9f859350f977319ebb5c2a999c182ab6b99b24c60e19d97c54367868a63e";
  +  sha256_aarch64_darwin = "dmzfergSUVz39T30PT/6ZtT8JNqv5lzdX7zUsXsFGJg=";
   
     platform = if stdenv.isDarwin then "macosx" else "linux";
  -  hash = if stdenv.isDarwin then sha256_darwin else sha256_linux;
  +  hash = if stdenv.isAarch64 && stdenv.isDarwin then sha256_aarch64_darwin else if stdenv.isDarwin then sha256_x64_darwin else sha256_x64_linux;
     extension = if stdenv.isDarwin then "zip" else "tar.gz";
  +  architecture = if stdenv.isAarch64 then "aarch64" else "x64";
   
     runtimeDependencies = [
       cups
  
positive.code:   pname = "zulu";
  
    src = fetchurl {
      url = "https://cdn.azul.com/zulu/bin/zulu${version}-ca-jdk${openjdk}-${platform}_x64.${extension}";
      sha256 = hash;
    };
  
  
negative.code:       operating systems, containers, hypervisors and Cloud platforms.
      '';
      maintainers = with maintainers; [ fpletz ];
      platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
      mainProgram = "java";
    };
  }
  