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

35 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, openjdk11, fetchFromGitHub, jetbrains }:
2020-03-11 22:20:34 +00:00
openjdk11.overrideAttrs (oldAttrs: rec {
2020-03-11 22:20:34 +00:00
pname = "jetbrains-jdk";
version = "11.0.7-b64";
2020-03-11 22:20:34 +00:00
src = fetchFromGitHub {
owner = "JetBrains";
repo = "JetBrainsRuntime";
rev = "jb${stdenv.lib.replaceStrings ["."] ["_"] version}";
sha256 = "1gxqi6dkyriv9j29ppan638w1ns2g9m4q1sq7arf9kwqr05zim90";
2020-03-11 22:20:34 +00:00
};
patches = [];
meta = with stdenv.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 18:02:02 +00:00
JetBrains Runtime is not a certified build of OpenJDK. Please, use at
your own risk.
'';
homepage = "https://bintray.com/jetbrains/intellij-jdk/";
license = licenses.gpl2;
2020-03-11 22:20:34 +00:00
maintainers = with maintainers; [ edwtjo petabyteboy ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
};
passthru = oldAttrs.passthru // {
home = "${jetbrains.jdk}/lib/openjdk";
};
2020-03-11 22:20:34 +00:00
})