2014-11-20 12:29:07 +01:00
|
|
|
{ stdenv, fetchurl, jre, makeWrapper }:
|
2015-07-22 10:10:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hbase-${version}";
|
2016-06-10 09:59:11 +02:00
|
|
|
version = "0.98.19";
|
2015-07-22 10:10:03 +02:00
|
|
|
|
2014-11-20 12:29:07 +01:00
|
|
|
src = fetchurl {
|
2015-07-22 10:10:03 +02:00
|
|
|
url = "mirror://apache/hbase/${version}/hbase-${version}-hadoop2-bin.tar.gz";
|
2016-06-10 09:59:11 +02:00
|
|
|
sha256 = "0g7y38cw09fydbf4fbs1anyilhfgxpbfs41f0aignli5i3hd1pgx";
|
2014-11-20 12:29:07 +01:00
|
|
|
};
|
2015-07-22 10:10:03 +02:00
|
|
|
|
2014-11-20 12:29:07 +01:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -R * $out
|
|
|
|
'';
|
2014-11-21 15:43:12 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A distributed, scalable, big data store";
|
|
|
|
homepage = https://hbase.apache.org;
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2014-11-20 12:29:07 +01:00
|
|
|
}
|