kibana: 4.5.2 -> 4.6.0 (#18277)
Includes supporting binary src for x86_64-linux, x86_64-darwin, and i686-linux which were previously unsupported and failed grossly before.
This commit is contained in:
parent
ff76c7d3ca
commit
46ff1c385f
@ -1,14 +1,23 @@
|
|||||||
{ stdenv, makeWrapper, fetchurl, nodejs, coreutils, which }:
|
{ stdenv, makeWrapper, fetchurl, nodejs, coreutils, which }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
let
|
||||||
stdenv.mkDerivation rec {
|
inherit (builtins) elemAt;
|
||||||
|
info = splitString "-" stdenv.system;
|
||||||
|
arch = elemAt info 0;
|
||||||
|
plat = elemAt info 1;
|
||||||
|
shas = {
|
||||||
|
"x86_64-linux" = "1md3y3a8rxvf37lnfc56kbirv2rjl68pa5672yxhfmjngrr20rcw";
|
||||||
|
"i686-linux" = "0d77a2v14pg5vr711hzbva8jjy0sxw9w889f2r1vhwngrhcfz4pf";
|
||||||
|
"x86_64-darwin" = "1cajljx13h8bncmayzvlzsynwambz61cspjnsn2h19zghn2vj2c9";
|
||||||
|
};
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "kibana-${version}";
|
name = "kibana-${version}";
|
||||||
version = "4.5.2";
|
version = "4.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.elastic.co/kibana/kibana-snapshot/${name}-snapshot-linux-x86.tar.gz";
|
url = "https://download.elastic.co/kibana/kibana/${name}-${plat}-${arch}.tar.gz";
|
||||||
sha256 = "1na8xh525znxaqjhxfvpx0q3rj85cjb6l9zlzd44dl31a9l117y4";
|
sha256 = shas."${stdenv.system}";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user