mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
25 lines
841 B
Nix
25 lines
841 B
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-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
|
|
|
jdk-21 = common { sourcePerArch = sources.jdk.openjdk21; };
|
|
jre-21 = common { sourcePerArch = sources.jre.openjdk21; };
|
|
|
|
jdk-23 = common { sourcePerArch = sources.jdk.openjdk23; };
|
|
jre-23 = common { sourcePerArch = sources.jre.openjdk23; };
|
|
}
|