mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
36 lines
1.4 KiB
Nix
36 lines
1.4 KiB
Nix
{ lib, callPackage }:
|
|
|
|
let
|
|
sources = (lib.importJSON ./sources.json).hotspot.mac;
|
|
common = opts: callPackage (import ./jdk-darwin-base.nix opts) { };
|
|
|
|
EOL = [ "This JDK version has reached End of Life." ];
|
|
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; knownVulnerabilities = EOL; };
|
|
|
|
jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
|
|
|
jdk-18 = common { sourcePerArch = sources.jdk.openjdk18; knownVulnerabilities = EOL; };
|
|
jre-18 = common { sourcePerArch = sources.jre.openjdk18; knownVulnerabilities = EOL; };
|
|
|
|
jdk-19 = common { sourcePerArch = sources.jdk.openjdk19; knownVulnerabilities = EOL; };
|
|
jre-19 = common { sourcePerArch = sources.jre.openjdk19; knownVulnerabilities = EOL; };
|
|
|
|
jdk-20 = common { sourcePerArch = sources.jdk.openjdk20; knownVulnerabilities = EOL; };
|
|
jre-20 = common { sourcePerArch = sources.jre.openjdk20; knownVulnerabilities = EOL; };
|
|
|
|
jdk-21 = common { sourcePerArch = sources.jdk.openjdk21; };
|
|
jre-21 = common { sourcePerArch = sources.jre.openjdk21; };
|
|
|
|
jdk-22 = common { sourcePerArch = sources.jdk.openjdk22; };
|
|
jre-22 = common { sourcePerArch = sources.jre.openjdk22; };
|
|
}
|