nixpkgs/pkgs/development/compilers/zulu/17.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.3 KiB
Nix
Raw Normal View History

{ callPackage
, enableJavaFX ? false
, ...
}@args:
callPackage ./common.nix ({
# Details from https://www.azul.com/downloads/?version=java-17-lts&package=jdk
# Note that the latest build may differ by platform
2023-10-07 22:15:29 +00:00
dists = {
2023-10-08 19:21:16 +00:00
x86_64-linux = {
2024-09-25 01:56:32 +00:00
zuluVersion = "17.52.17";
jdkVersion = "17.0.12";
2023-10-08 19:21:16 +00:00
hash =
2024-09-25 01:56:32 +00:00
if enableJavaFX then "sha256-qKpkvk7/IEnlOJoy7An0AVGUXWkWeuuiQzqKKE/+Ec4="
else "sha256-JCRcjQzkkV2G5wsoi13psbTHjxCtuw5rqT4pEAOarRk=";
2023-10-08 19:21:16 +00:00
};
aarch64-linux = {
2024-09-25 01:56:32 +00:00
zuluVersion = "17.52.17";
jdkVersion = "17.0.12";
2023-10-08 19:21:16 +00:00
hash =
2024-09-25 01:56:32 +00:00
if enableJavaFX then "sha256-mpTM/43oyDsOnoZM8AW1Z7EFTznnPAnYoC+T6csc8Fw="
else "sha256-uIz2D5WjqySy5lobuvWp3kFTGsBKhXzT56QgCGyXwSY=";
2023-10-08 19:21:16 +00:00
};
x86_64-darwin = {
2024-09-25 01:56:32 +00:00
zuluVersion = "17.52.17";
jdkVersion = "17.0.12";
hash =
2024-09-25 01:56:32 +00:00
if enableJavaFX then "sha256-jb1oPmRzlYUMONovdsHowlC44X3/PFZ8KilxSsR924U="
else "sha256-8VlGFUhCn3NE2A42xi69KzZqu0RoGOV1ZYj8oaqCnTc=";
};
aarch64-darwin = {
2024-09-25 01:56:32 +00:00
zuluVersion = "17.52.17";
jdkVersion = "17.0.12";
hash =
2024-09-25 01:56:32 +00:00
if enableJavaFX then "sha256-rEILTKTpX8DEoOGhlrhbxpcCyF2+QrjW92h0ox9ezp0="
else "sha256-RZ3hNQQFE+spTT9lFHLjmkolSkpHDg2Hvro6xi7uNww=";
};
2023-10-07 22:15:29 +00:00
};
} // builtins.removeAttrs args [ "callPackage" ])