nixpkgs/pkgs/development/compilers/jetbrains-jdk/default.nix

34 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, openjdk11, fetchFromGitHub, jetbrains }:
2020-03-11 23:20:34 +01:00
openjdk11.overrideAttrs (oldAttrs: rec {
2020-03-11 23:20:34 +01:00
pname = "jetbrains-jdk";
version = "11_0_11-b1504.13";
2020-03-11 23:20:34 +01:00
src = fetchFromGitHub {
owner = "JetBrains";
repo = "JetBrainsRuntime";
rev = "jb${version}";
sha256 = "1xpgsgmmj5jp5qyw98hqmik6a7z3hfwmij023ij3qqymyj3nhm2i";
2020-03-11 23:20:34 +01:00
};
patches = [];
meta = with lib; {
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 20:02:02 +02:00
JetBrains Runtime is not a certified build of OpenJDK. Please, use at
your own risk.
'';
homepage = "https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime";
2021-06-03 14:19:00 +02:00
inherit (openjdk11.meta) license platforms mainProgram;
2020-03-11 23:20:34 +01:00
maintainers = with maintainers; [ edwtjo petabyteboy ];
};
passthru = oldAttrs.passthru // {
home = "${jetbrains.jdk}/lib/openjdk";
};
2020-03-11 23:20:34 +01:00
})