1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/servers/hbase/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
585 B
Nix

{ 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";
};
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = with stdenv.lib; {
description = "A distributed, scalable, big data store";
homepage = https://hbase.apache.org;
license = licenses.asl20;
platforms = stdenv.lib.platforms.linux;
};
}