c74221839b
AdoptOpenJDK Hotspot is now Eclipse Temurin and AdoptOpenJDK OpenJ9 is now IBM Semeru Runtime. Adds `temurin-bin` and `semeru-bin` packages. AdoptOpenJDK 13, 14, and 15 is no longer supported. AdoptOpenJDK 13 and 14 are removed. AdoptOpenJDK 15 is left only for some packages depending it.
16 lines
590 B
Nix
16 lines
590 B
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; };
|
|
}
|