2022-09-30 11:47:45 +00:00
|
|
|
{ lib, callPackage }:
|
|
|
|
|
|
|
|
let
|
|
|
|
sources = (lib.importJSON ./sources.json).openj9.linux;
|
|
|
|
common = opts: callPackage (import ./jdk-linux-base.nix opts) {};
|
2024-06-05 15:53:02 +00:00
|
|
|
|
|
|
|
EOL = [ "This JDK/JRE version has reached End of Life." ];
|
2022-09-30 11:47:45 +00:00
|
|
|
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; };
|
2024-06-05 15:53:02 +00:00
|
|
|
jdk-16 = common { sourcePerArch = sources.jdk.openjdk16; knownVulnerabilities = EOL; };
|
|
|
|
jre-16 = common { sourcePerArch = sources.jre.openjdk16; knownVulnerabilities = EOL; };
|
2022-09-30 11:47:45 +00:00
|
|
|
jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
|
|
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
2024-06-05 15:53:02 +00:00
|
|
|
jdk-21 = common { sourcePerArch = sources.jdk.openjdk21; };
|
|
|
|
jre-21 = common { sourcePerArch = sources.jre.openjdk21; };
|
2022-09-30 11:47:45 +00:00
|
|
|
}
|