2014-11-20 14:29:07 +03:00
|
|
|
{ stdenv, fetchurl, jre, makeWrapper }:
|
2015-07-22 11:10:03 +03:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hbase-${version}";
|
|
|
|
version = "0.98.13";
|
|
|
|
|
2014-11-20 14:29:07 +03:00
|
|
|
src = fetchurl {
|
2015-07-22 11:10:03 +03:00
|
|
|
url = "mirror://apache/hbase/${version}/hbase-${version}-hadoop2-bin.tar.gz";
|
|
|
|
sha256 = "1av81nnnwivxf5ha6x9qrr2afl5sbyskl07prv0rdac954xmgg8n";
|
2014-11-20 14:29:07 +03:00
|
|
|
};
|
2015-07-22 11:10:03 +03:00
|
|
|
|
2014-11-20 14:29:07 +03:00
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -R * $out
|
|
|
|
'';
|
2014-11-21 17:43:12 +03: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 14:29:07 +03:00
|
|
|
}
|