From 04e782f380964f447448d91bce0e99e9ddb23570 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 22 Jul 2015 10:10:03 +0200 Subject: [PATCH] hbase: 0.98.8 -> 0.98.13. Fixes download (ZHF) --- pkgs/servers/hbase/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/hbase/default.nix b/pkgs/servers/hbase/default.nix index de5be18713ed..408022f650f4 100644 --- a/pkgs/servers/hbase/default.nix +++ b/pkgs/servers/hbase/default.nix @@ -1,10 +1,13 @@ { stdenv, fetchurl, jre, makeWrapper }: -stdenv.mkDerivation { - name = "hbase-0.98.8"; +stdenv.mkDerivation rec { + name = "hbase-${version}"; + version = "0.98.13"; + src = fetchurl { - url = http://mirror.gopotato.co.uk/apache/hbase/stable/hbase-0.98.8-hadoop2-bin.tar.gz; - sha256 = "0nvxaqpw8v2hg6mn2p2zxj3y6r4dj4xzxmp8rfmv6m6algn5apv6"; + url = "mirror://apache/hbase/${version}/hbase-${version}-hadoop2-bin.tar.gz"; + sha256 = "1av81nnnwivxf5ha6x9qrr2afl5sbyskl07prv0rdac954xmgg8n"; }; + buildInputs = [ makeWrapper ]; installPhase = '' mkdir -p $out