depot/third_party/nixpkgs/pkgs/development/compilers/temurin-bin/jdk-darwin.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

28 lines
1.1 KiB
Nix

{ lib, callPackage }:
let
sources = (lib.importJSON ./sources.json).hotspot.mac;
common = opts: callPackage (import ./jdk-darwin-base.nix opts) {};
in
{
jdk-8 = common { sourcePerArch = sources.jdk.openjdk8; };
jre-8 = common { sourcePerArch = sources.jre.openjdk8; };
jdk-11 = common { sourcePerArch = sources.jdk.openjdk11; };
jre-11 = common { sourcePerArch = sources.jre.openjdk11; };
jdk-16 = common { sourcePerArch = sources.jdk.openjdk16; };
jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
jdk-18 = common { sourcePerArch = sources.jdk.openjdk18; };
jre-18 = common { sourcePerArch = sources.jre.openjdk18; };
jdk-19 = common { sourcePerArch = sources.jdk.openjdk19; };
jre-19 = common { sourcePerArch = sources.jre.openjdk19; };
jdk-20 = common { sourcePerArch = sources.jdk.openjdk20; };
jre-20 = common { sourcePerArch = sources.jre.openjdk20; };
jdk-21 = common { sourcePerArch = sources.jdk.openjdk21; };
jre-21 = common { sourcePerArch = sources.jre.openjdk21; };
}