anchor.diff:      sha256 = hash;
     };
   
  -  buildInputs = [ makeWrapper ] ++ stdenv.lib.optional stdenv.isDarwin [ unzip ];
  +  buildInputs = [ makeWrapper ] ++ lib.optional stdenv.isDarwin unzip;
   
     installPhase = ''
       mkdir -p $out
  
positive.code: { stdenv, pkgs, fetchurl, unzip, makeWrapper, setJavaClassPath, swingSupport ? true }:
  
  with pkgs;
  
  let
    version = "8.19.0.1";
    openjdk = "8.0.112";
  
    sha256_linux = "1icb6in1197n44wk2cqnrxr7w0bd5abxxysfrhbg56jlb9nzmp4x";
    sha256_darwin = "0kxwh62a6kckc9l9jkgakf86lqkqazp3dwfwaxqc4cg5zczgbhmd";
  
    platform = if stdenv.isDarwin then "macosx" else "linux";
    hash = if stdenv.isDarwin then sha256_darwin else sha256_linux;
    extension = if stdenv.isDarwin then "zip" else "tar.gz";
  in stdenv.mkDerivation rec {
    inherit version openjdk platform hash extension;
  
  
negative.code:     homepage = https://www.azul.com/products/zulu/;
      license = licenses.gpl2;
      description = "Certified builds of OpenJDK";
      longDescription = ''
        Certified builds of OpenJDK that can be deployed across multiple
        operating systems, containers, hypervisors and Cloud platforms.
      '';
      maintainers = with maintainers; [ nequissimus fpletz ];
      platforms = [ "x86_64-linux" "x86_64-darwin" ];
    };
  }
  