File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 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 =
Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchurl ,
5+ mysql_jdbc ,
56 extensions ? { } ,
67 libJars ? [ ] ,
78 nixosTests ,
1920in
2021stdenv . 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
You can’t perform that action at this time.
0 commit comments