jetbrains.jdk*: Update Jetbrains Java Runtime packages (#426285)

authored by Fabián Heredia Montiel and committed by GitHub 1ec347a3 905bb2fe

+22 -19
+7 -12
pkgs/development/compilers/jetbrains-jdk/17.nix
··· 43 in 44 openjdk17.overrideAttrs (oldAttrs: rec { 45 pname = "jetbrains-jdk" + lib.optionalString withJcef "-jcef"; 46 - javaVersion = "17.0.11"; 47 - build = "1207.24"; 48 # To get the new tag: 49 # git clone https://github.com/jetbrains/jetbrainsruntime 50 # cd jetbrainsruntime 51 - # git reset --hard [revision] 52 - # git log --simplify-by-decoration --decorate=short --pretty=short | grep "jbr-" --color=never | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1 | tr -d "," 53 - openjdkTag = "jbr-17.0.8+7"; 54 version = "${javaVersion}-b${build}"; 55 56 src = fetchFromGitHub { 57 owner = "JetBrains"; 58 repo = "JetBrainsRuntime"; 59 rev = "jb${version}"; 60 - hash = "sha256-a7cJF2iCW/1GK0/GmVbaY5pYcn3YtZy5ngFkyAGRhu0="; 61 }; 62 63 env = { 64 BOOT_JDK = openjdk17-bootstrap.home; 65 # run `git log -1 --pretty=%ct` in jdk repo for new value on update 66 - SOURCE_DATE_EPOCH = 1715809405; 67 - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU (toString [ 68 - "-Wno-error=format-overflow" 69 - "-Wno-error=template-id-cdtor" 70 - "-Wno-error=calloc-transposed-args" 71 - ]); 72 }; 73 74 patches = [ ];
··· 43 in 44 openjdk17.overrideAttrs (oldAttrs: rec { 45 pname = "jetbrains-jdk" + lib.optionalString withJcef "-jcef"; 46 + javaVersion = "17.0.15"; 47 + build = "1381"; 48 # To get the new tag: 49 # git clone https://github.com/jetbrains/jetbrainsruntime 50 # cd jetbrainsruntime 51 + # git tag --points-at [revision] 52 + # Look for the line that starts with jbr- 53 + openjdkTag = "jbr-17.0.15+6"; 54 version = "${javaVersion}-b${build}"; 55 56 src = fetchFromGitHub { 57 owner = "JetBrains"; 58 repo = "JetBrainsRuntime"; 59 rev = "jb${version}"; 60 + hash = "sha256-Ckv2SNugHK75Af+ZzI91+QodOHIa5TMcjVQYsO45mQo="; 61 }; 62 63 env = { 64 BOOT_JDK = openjdk17-bootstrap.home; 65 # run `git log -1 --pretty=%ct` in jdk repo for new value on update 66 + SOURCE_DATE_EPOCH = 1745907200; 67 }; 68 69 patches = [ ];
+15 -7
pkgs/development/compilers/jetbrains-jdk/default.nix
··· 28 wayland, 29 udev, 30 fontconfig, 31 }: 32 33 assert debugBuild -> withJcef; ··· 43 in 44 jdk.overrideAttrs (oldAttrs: rec { 45 pname = "jetbrains-jdk" + lib.optionalString withJcef "-jcef"; 46 - javaVersion = "21.0.6"; 47 - build = "895.109"; 48 # To get the new tag: 49 # git clone https://github.com/jetbrains/jetbrainsruntime 50 # cd jetbrainsruntime 51 - # git checkout jbr-release-${javaVersion}b${build} 52 - # git log --simplify-by-decoration --decorate=short --pretty=short | grep "jbr-" --color=never | cut -d "(" -f2 | cut -d ")" -f1 | awk '{print $2}' | sort -t "-" -k 2 -g | tail -n 1 | tr -d "," 53 - openjdkTag = "jbr-21.0.6+7"; 54 version = "${javaVersion}-b${build}"; 55 56 src = fetchFromGitHub { 57 owner = "JetBrains"; 58 repo = "JetBrainsRuntime"; 59 rev = "jb${version}"; 60 - hash = "sha256-Neh0PGer4JnNaForBKRlGPLft5cae5GktreyPRNjFCk="; 61 }; 62 63 env = { 64 BOOT_JDK = jdk.home; 65 # run `git log -1 --pretty=%ct` in jdk repo for new value on update 66 - SOURCE_DATE_EPOCH = 1726275531; 67 }; 68 69 patches = [ ]; ··· 172 autoconf 173 unzip 174 rsync 175 ] 176 ++ oldAttrs.nativeBuildInputs; 177 178 meta = with lib; { 179 description = "OpenJDK fork to better support Jetbrains's products";
··· 28 wayland, 29 udev, 30 fontconfig, 31 + shaderc, 32 + vulkan-headers, 33 }: 34 35 assert debugBuild -> withJcef; ··· 45 in 46 jdk.overrideAttrs (oldAttrs: rec { 47 pname = "jetbrains-jdk" + lib.optionalString withJcef "-jcef"; 48 + javaVersion = "21.0.7"; 49 + build = "1038.58"; 50 # To get the new tag: 51 # git clone https://github.com/jetbrains/jetbrainsruntime 52 # cd jetbrainsruntime 53 + # git tag --points-at [revision] 54 + # Look for the line that starts with jbr- 55 + openjdkTag = "jbr-release-21.0.7b1038.58"; 56 version = "${javaVersion}-b${build}"; 57 58 src = fetchFromGitHub { 59 owner = "JetBrains"; 60 repo = "JetBrainsRuntime"; 61 rev = "jb${version}"; 62 + hash = "sha256-sGAMrE9gAt73jgLlNW8p5Lz37gFiK4ZvMQ8giE2Ia54="; 63 }; 64 65 env = { 66 BOOT_JDK = jdk.home; 67 # run `git log -1 --pretty=%ct` in jdk repo for new value on update 68 + SOURCE_DATE_EPOCH = 1745907200; 69 }; 70 71 patches = [ ]; ··· 174 autoconf 175 unzip 176 rsync 177 + shaderc # glslc 178 ] 179 ++ oldAttrs.nativeBuildInputs; 180 + 181 + buildInputs = [ 182 + vulkan-headers 183 + ] 184 + ++ oldAttrs.buildInputs or [ ]; 185 186 meta = with lib; { 187 description = "OpenJDK fork to better support Jetbrains's products";