nixpkgs/pkgs/servers/hbase/default.nix

23 lines
584 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
pname = "hbase";
2017-01-20 08:51:05 +00:00
version = "0.98.24";
2014-11-20 11:29:07 +00:00
src = fetchurl {
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
};
nativeBuildInputs = [ makeWrapper ];
2014-11-20 11:29:07 +00:00
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = with lib; {
description = "A distributed, scalable, big data store";
homepage = "https://hbase.apache.org";
license = licenses.asl20;
2021-01-15 07:07:56 +00:00
platforms = lib.platforms.linux;
};
2014-11-20 11:29:07 +00:00
}