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";
|
2021-08-02 02:12:52 +00:00
|
|
|
version = "11_0_11-b1504.13";
|
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}";
|
|
|
|
sha256 = "1xpgsgmmj5jp5qyw98hqmik6a7z3hfwmij023ij3qqymyj3nhm2i";
|
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;
|
2020-03-11 22:20:34 +00:00
|
|
|
maintainers = with maintainers; [ edwtjo petabyteboy ];
|
|
|
|
};
|
|
|
|
passthru = oldAttrs.passthru // {
|
|
|
|
home = "${jetbrains.jdk}/lib/openjdk";
|
2017-09-21 08:48:02 +00:00
|
|
|
};
|
2020-03-11 22:20:34 +00:00
|
|
|
})
|