2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper }:
|
2015-07-22 08:10:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hbase";
|
2017-01-20 08:51:05 +00:00
|
|
|
version = "0.98.24";
|
2015-07-22 08:10:03 +00:00
|
|
|
|
2014-11-20 11:29:07 +00:00
|
|
|
src = fetchurl {
|
2015-07-22 08:10:03 +00:00
|
|
|
url = "mirror://apache/hbase/${version}/hbase-${version}-hadoop2-bin.tar.gz";
|
2017-01-20 08:51:05 +00:00
|
|
|
sha256 = "0kz72wqsii09v9hxkw10mzyvjhji5sx3l6aijjalgbybavpcxglb";
|
2014-11-20 11:29:07 +00:00
|
|
|
};
|
2015-07-22 08:10:03 +00:00
|
|
|
|
2014-11-20 11:29:07 +00:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -R * $out
|
|
|
|
'';
|
2014-11-21 14:43:12 +00: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 11:29:07 +00:00
|
|
|
}
|