2021-01-25 08:26:54 +00:00
|
|
|
{ lib, openjdk11, fetchFromGitHub, jetbrains }:
|
2020-03-11 22:20:34 +00:00
|
|
|
|
2020-03-19 00:57:05 +00:00
|
|
|
openjdk11.overrideAttrs (oldAttrs: rec {
|
2020-03-11 22:20:34 +00:00
|
|
|
pname = "jetbrains-jdk";
|
2022-02-08 15:27:03 +00:00
|
|
|
version = "11_0_13-b1751.25";
|
|
|
|
|
2020-03-11 22:20:34 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JetBrains";
|
|
|
|
repo = "JetBrainsRuntime";
|
2021-08-02 02:12:52 +00:00
|
|
|
rev = "jb${version}";
|
2022-02-08 15:27:03 +00:00
|
|
|
sha256 = "sha256-TPNYZUkAoiZfp7Ci3fslKnRNGY1lnyIhXYUt6J31lwI=";
|
2020-03-11 22:20:34 +00:00
|
|
|
};
|
|
|
|
patches = [];
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2017-09-21 08:48:02 +00:00
|
|
|
description = "An OpenJDK fork to better support Jetbrains's products.";
|
|
|
|
longDescription = ''
|
|
|
|
JetBrains Runtime is a runtime environment for running IntelliJ Platform
|
|
|
|
based products on Windows, Mac OS X, and Linux. JetBrains Runtime is
|
|
|
|
based on OpenJDK project with some modifications. These modifications
|
|
|
|
include: Subpixel Anti-Aliasing, enhanced font rendering on Linux, HiDPI
|
|
|
|
support, ligatures, some fixes for native crashes not presented in
|
|
|
|
official build, and other small enhancements.
|
2017-09-04 18:02:02 +00:00
|
|
|
|
2017-09-21 08:48:02 +00:00
|
|
|
JetBrains Runtime is not a certified build of OpenJDK. Please, use at
|
|
|
|
your own risk.
|
|
|
|
'';
|
2021-08-02 02:12:52 +00:00
|
|
|
homepage = "https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime";
|
2021-06-03 12:19:00 +00:00
|
|
|
inherit (openjdk11.meta) license platforms mainProgram;
|
2022-06-22 22:51:46 +00:00
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
2020-03-11 22:20:34 +00:00
|
|
|
};
|
|
|
|
passthru = oldAttrs.passthru // {
|
|
|
|
home = "${jetbrains.jdk}/lib/openjdk";
|
2017-09-21 08:48:02 +00:00
|
|
|
};
|
2020-03-11 22:20:34 +00:00
|
|
|
})
|