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