Bump Logstash to 1.4.2

This commit is contained in:
William Roe 2014-07-11 17:50:02 +01:00
parent 1ad2f843e2
commit d79a58e392

View File

@ -1,11 +1,24 @@
{ fetchurl }:
{ stdenv, fetchurl }:
let version = "1.3.3"; in
stdenv.mkDerivation rec {
version = "1.4.2";
name = "logstash-${version}";
fetchurl {
url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}-flatjar.jar";
src = fetchurl {
url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}.tar.gz";
sha256 = "0sc0bwyf96fzs5h3d7ii65v9vvpfbm7w67vk1im9djnlz0d1ggnm";
};
name = "logstash-${version}-flatjar.jar";
dontBuild = true;
dontPatchELF = true;
dontStrip = true;
sha256 = "a83503bd2aa32e1554b98f812d0b411fbc5f7b6b21cebb48b7d344474f2dfc6d";
installPhase = ''
cp -a bin $out
'';
meta = {
description = "Open Source, Distributed, RESTful Search Engine";
homepage = http://www.elasticsearch.org;
};
}