10 let common = { version, hash, jdk ? jdk11_headless, tests }:
11 stdenv.mkDerivation rec {
16 url = "mirror://apache/hbase/${version}/hbase-${version}-bin.tar.gz";
20 nativeBuildInputs = [ makeWrapper ];
24 wrapProgram $out/bin/hbase --set-default JAVA_HOME ${jdk.home} \
25 --run "test -d /etc/hadoop-conf && export HBASE_CONF_DIR=\''${HBASE_CONF_DIR-'/etc/hadoop-conf/'}" \
26 --set-default HBASE_CONF_DIR "$out/conf/"
29 passthru = { inherit tests; };
32 description = "Distributed, scalable, big data store";
33 homepage = "https://hbase.apache.org";
34 license = licenses.asl20;
35 maintainers = with lib.maintainers; [ illustris ];
36 platforms = lib.platforms.linux;
43 hash = "sha256-zYrHAxzlPRrRchHGVp3fhQT0BD0+wavZ4cAWncrv+MQ=";
44 tests.standalone = nixosTests.hbase_2_4;
48 hash = "sha256-rJGeJ9zmUn28q1Sfk5cdEdEZxbAnvFjRjdcTCx9x1Qc=";
49 tests.standalone = nixosTests.hbase_2_5;
53 hash = "sha256-zjQ5HgUCiHmrMQuyMN4IAuLR0fVrJ+YKDUfPQb05Dp4=";
54 tests.standalone = nixosTests.hbase2;
57 version = "3.0.0-beta-1";
58 hash = "sha256-lmeaH2gDP6sBwZpzROKhR2Je7dcrwnq7qlMUh0B5fZs=";
59 tests.standalone = nixosTests.hbase3;