tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
zulu: 8.19.0.1 -> 8.21.0.1
Franz Pletz
8 years ago
7ef578f1
f91c591e
+24
-13
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
zulu
default.nix
+24
-13
pkgs/development/compilers/zulu/default.nix
···
1
1
-
{ stdenv, pkgs, fetchurl, unzip, makeWrapper, setJavaClassPath, swingSupport ? true }:
2
2
-
3
3
-
with pkgs;
1
1
+
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
2
2
+
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, mesa_noglu, alsaLib
3
3
+
, fontconfig, freetype, gnome2, cairo, gdk_pixbuf, atk, xorg
4
4
+
, swingSupport ? true }:
4
5
5
6
let
6
6
-
version = "8.19.0.1";
7
7
-
openjdk = "8.0.112";
7
7
+
version = "8.21.0.1";
8
8
+
openjdk = "8.0.131";
8
9
9
9
-
sha256_linux = "1icb6in1197n44wk2cqnrxr7w0bd5abxxysfrhbg56jlb9nzmp4x";
10
10
-
sha256_darwin = "0kxwh62a6kckc9l9jkgakf86lqkqazp3dwfwaxqc4cg5zczgbhmd";
10
10
+
sha256_linux = "0cr1wvk1ifdq69ia8sr6171yzciba8l5x7dszwa5g2v0vmmqq88p";
11
11
+
sha256_darwin = "0xq9bdzbdq8wq48gj6j56bw30l2iafz6sy1wdhrf92n9bnz5qmw7";
11
12
12
13
platform = if stdenv.isDarwin then "macosx" else "linux";
13
14
hash = if stdenv.isDarwin then sha256_darwin else sha256_linux;
14
15
extension = if stdenv.isDarwin then "zip" else "tar.gz";
16
16
+
17
17
+
libraries = [
18
18
+
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt mesa_noglu
19
19
+
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
20
20
+
gnome2.gtk cairo gdk_pixbuf atk
21
21
+
] ++ (lib.optionals swingSupport (with xorg; [
22
22
+
xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp
23
23
+
xorg.libXt xorg.libXrender stdenv.cc.cc
24
24
+
]));
25
25
+
15
26
in stdenv.mkDerivation rec {
16
27
inherit version openjdk platform hash extension;
17
28
···
22
33
sha256 = hash;
23
34
};
24
35
25
25
-
buildInputs = [ makeWrapper ] ++ stdenv.lib.optional stdenv.isDarwin [ unzip ];
36
36
+
buildInputs = [ makeWrapper ] ++ lib.optional stdenv.isDarwin unzip;
26
37
27
38
installPhase = ''
28
39
mkdir -p $out
···
51
62
EOF
52
63
'';
53
64
54
54
-
libraries = [ stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt mesa_noglu xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango gnome2.gtk cairo gdk_pixbuf atk ]
55
55
-
++ (if swingSupport then [ xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc ] else [ ]);
56
56
-
57
65
rpath = stdenv.lib.strings.makeLibraryPath libraries;
58
66
59
67
passthru = {
···
64
72
homepage = https://www.azul.com/products/zulu/;
65
73
license = licenses.gpl2;
66
74
description = "Certified builds of OpenJDK";
67
67
-
longDescription = "Certified builds of OpenJDK that can be deployed across multiple operating systems, containers, hypervisors and Cloud platforms";
68
68
-
maintainers = with maintainers; [ nequissimus ];
75
75
+
longDescription = ''
76
76
+
Certified builds of OpenJDK that can be deployed across multiple
77
77
+
operating systems, containers, hypervisors and Cloud platforms.
78
78
+
'';
79
79
+
maintainers = with maintainers; [ nequissimus fpletz ];
69
80
platforms = [ "x86_64-linux" "x86_64-darwin" ];
70
81
};
71
82
}