summary refs log tree commit diff
path: root/pkgs/servers/hbase/default.nix
blob: 32d2c09de97fbb876ae4ce5de72476ca9d250351 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
  pname = "hbase";
  version = "0.98.24";

  src = fetchurl {
    url = "mirror://apache/hbase/${version}/hbase-${version}-hadoop2-bin.tar.gz";
    sha256 = "0kz72wqsii09v9hxkw10mzyvjhji5sx3l6aijjalgbybavpcxglb";
  };

  nativeBuildInputs = [ makeWrapper ];
  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;
    platforms = lib.platforms.linux;
  };
}