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

35 lines
892 B
Nix
Raw Normal View History

2024-06-30 08:12:46 +00:00
{
callPackage,
enableJavaFX ? false,
...
2024-05-02 00:46:19 +00:00
}@args:
2024-06-30 08:12:46 +00:00
callPackage ./common.nix (
{
# Details from https://www.azul.com/downloads/?version=java-18-sts&package=jdk
# Note that the latest build may differ by platform
dists = {
x86_64-darwin = {
zuluVersion = "18.32.13";
jdkVersion = "18.0.2.1";
hash =
if enableJavaFX then
"sha256-ZVZ1gbpJwxTduq2PPOCKqbSl+shq2NTFgqG++OXvFcg="
else
"sha256-uHPcyOgxUdTgzmIVRp/awtwve9zSt+1TZNef7DUuoRg=";
};
2024-05-02 00:46:19 +00:00
2024-06-30 08:12:46 +00:00
aarch64-darwin = {
zuluVersion = "18.32.13";
jdkVersion = "18.0.2.1";
hash =
if enableJavaFX then
"sha256-tNx0a1u9iamcN9VFOJ3eqDEA6C204dtIBJZvuAH2Vjk="
else
"sha256-jAZDgxtWMq/74yKAxA69oOU0C9nXvKG5MjmZLsK04iM=";
};
2024-05-02 00:46:19 +00:00
};
2024-06-30 08:12:46 +00:00
}
// builtins.removeAttrs args [ "callPackage" ]
)