core/pkgs/by-name/ja/java/zulu/19.nix

26 lines
876 B
Nix
Raw Normal View History

2024-05-13 21:24:10 +00:00
{ callPackage, enableJavaFX ? false, ... }@args:
2024-05-02 00:46:19 +00:00
callPackage ./common.nix ({
# Details from https://www.azul.com/downloads/?version=java-19-sts&package=jdk
# Note that the latest build may differ by platform
dists = {
x86_64-darwin = {
zuluVersion = if enableJavaFX then "19.32.15" else "19.32.13";
jdkVersion = "19.0.2";
2024-05-13 21:24:10 +00:00
hash = if enableJavaFX then
"sha256-AwLcIId0gH5D6DUU8CgJ3qnKVQm28LXYirBeXBHwPYE="
else
"sha256-KARXWumsY+OcqpEOV2EL9SsPni1nGSipjRji/Mn2KsE=";
2024-05-02 00:46:19 +00:00
};
aarch64-darwin = {
zuluVersion = if enableJavaFX then "19.32.15" else "19.32.13";
jdkVersion = "19.0.2";
2024-05-13 21:24:10 +00:00
hash = if enableJavaFX then
"sha256-/R2rrcBr64qPGEtvhruXBhPwnvurt/hiR1ICzZAdYxE="
else
"sha256-F30FjZaLL756X/Xs6xjNwW9jds4pEATxoxOeeLL7Y5E=";
2024-05-02 00:46:19 +00:00
};
};
} // builtins.removeAttrs args [ "callPackage" ])