2021-10-03 11:45:43 +00:00
|
|
|
{ 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; };
|
2022-11-02 20:28:44 +00:00
|
|
|
|
2021-10-03 11:45:43 +00:00
|
|
|
jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
|
|
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
2022-11-02 20:28:44 +00:00
|
|
|
|
|
|
|
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; };
|
2021-10-03 11:45:43 +00:00
|
|
|
}
|