2014-07-11 09:50:02 -07:00
|
|
|
{ stdenv, fetchurl }:
|
2012-07-11 04:23:14 -07:00
|
|
|
|
2014-07-11 09:50:02 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.4.2";
|
|
|
|
name = "logstash-${version}";
|
2012-07-11 04:23:14 -07:00
|
|
|
|
2014-07-11 09:50:02 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}.tar.gz";
|
|
|
|
sha256 = "0sc0bwyf96fzs5h3d7ii65v9vvpfbm7w67vk1im9djnlz0d1ggnm";
|
|
|
|
};
|
2012-07-11 04:23:14 -07:00
|
|
|
|
2014-07-11 09:50:02 -07:00
|
|
|
dontBuild = true;
|
|
|
|
dontPatchELF = true;
|
|
|
|
dontStrip = true;
|
2012-07-11 04:23:14 -07:00
|
|
|
|
2014-07-11 09:50:02 -07:00
|
|
|
installPhase = ''
|
|
|
|
cp -a bin $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Open Source, Distributed, RESTful Search Engine";
|
|
|
|
homepage = http://www.elasticsearch.org;
|
|
|
|
};
|
2012-07-11 04:23:14 -07:00
|
|
|
}
|