2014-07-11 16:50:02 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2012-07-11 11:23:14 +00:00
|
|
|
|
2014-07-11 16:50:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-19 21:09:03 +00:00
|
|
|
version = "1.5.3";
|
2014-07-11 16:50:02 +00:00
|
|
|
name = "logstash-${version}";
|
2012-07-11 11:23:14 +00:00
|
|
|
|
2014-07-11 16:50:02 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}.tar.gz";
|
2015-08-19 21:09:03 +00:00
|
|
|
sha256 = "1an476k4q2shdxvhcx4fzbrcpk6isjrrvzlb6ivxfqg5fih3cg7b";
|
2014-07-11 16:50:02 +00:00
|
|
|
};
|
2012-07-11 11:23:14 +00:00
|
|
|
|
2015-08-19 21:09:03 +00:00
|
|
|
dontBuild = true;
|
|
|
|
dontPatchELF = true;
|
|
|
|
dontStrip = true;
|
2014-07-14 16:54:20 +00:00
|
|
|
dontPatchShebangs = true;
|
2012-07-11 11:23:14 +00:00
|
|
|
|
2014-07-11 16:50:02 +00:00
|
|
|
installPhase = ''
|
2014-07-22 09:01:32 +00:00
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/vendor
|
|
|
|
mkdir -p $out/lib
|
2014-07-11 16:50:02 +00:00
|
|
|
cp -a bin $out
|
2014-07-14 16:54:20 +00:00
|
|
|
cp -a vendor $out
|
|
|
|
cp -a lib $out
|
2015-08-19 21:09:03 +00:00
|
|
|
cp Gemfile* $out
|
2014-07-11 16:50:02 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Open Source, Distributed, RESTful Search Engine";
|
|
|
|
homepage = http://www.elasticsearch.org;
|
2014-07-20 15:09:19 +00:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wjlroe ];
|
2014-07-11 16:50:02 +00:00
|
|
|
};
|
2012-07-11 11:23:14 +00:00
|
|
|
}
|