Skip to content

Commit 3013234

Browse files
authored
druid: 30.0.0 -> 31.0.0 (#351877)
2 parents d2fe83e + 7876de7 commit 3013234

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

nixos/tests/druid/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ let
3838
tests = {
3939
default = testsForPackage {
4040
druidPackage = pkgs.druid;
41-
hadoopPackage = pkgs.hadoop_3_2;
41+
hadoopPackage = pkgs.hadoop_3_3;
4242
};
4343
};
4444
testsForPackage =

pkgs/by-name/dr/druid/package.nix

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchurl,
5+
mysql_jdbc,
56
extensions ? { },
67
libJars ? [ ],
78
nixosTests,
@@ -19,16 +20,11 @@ let
1920
in
2021
stdenv.mkDerivation (finalAttrs: {
2122
pname = "apache-druid";
22-
version = "30.0.0";
23+
version = "31.0.0";
2324

2425
src = fetchurl {
2526
url = "mirror://apache/druid/${finalAttrs.version}/apache-druid-${finalAttrs.version}-bin.tar.gz";
26-
hash = "sha256-mRYorVkNzM94LP53G78eW20N5UsvMP7Lv4rAysmPwXw=";
27-
};
28-
29-
mysqlConnector = fetchurl {
30-
url = "mirror://maven/mysql/mysql-connector-java/5.1.48/mysql-connector-java-5.1.48.jar";
31-
hash = "sha256-VuJsqqOCH1rkr0T5x09mz4uE6gFRatOAPLsOkEm27Kg=";
27+
hash = "sha256-xppAoKNS/qB8WVMwBPxxHbOy5uDGl3IxrCWV1T+YQkE=";
3228
};
3329

3430
dontBuild = true;
@@ -61,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
6157
runHook preInstall
6258
mkdir $out
6359
mv * $out
64-
${optionalString mysqlSupport "cp ${finalAttrs.mysqlConnector} $out/extensions/mysql-metadata-storage"}
60+
${optionalString mysqlSupport "ln -s ${mysql_jdbc}/share/java/mysql-connector-java.jar $out/extensions/mysql-metadata-storage"}
6561
${finalAttrs.loadExtensions}
6662
${finalAttrs.loadJars}
6763
runHook postInstall

0 commit comments

Comments
 (0)