6d68a1fbf3
Note: the option to configure the watchdog timeout seems to be gone in the 2.3 series of Logstash. It complains about an unknown option and it is not in the source anymore. I am thus removing this configuration option to adjust the service to these changes, too.
31 lines
886 B
Nix
31 lines
886 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.3.4";
|
|
name = "logstash-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.elasticsearch.org/logstash/logstash/logstash-${version}.tar.gz";
|
|
sha256 = "10wm4f5ygzifk84c1n9yyj285ccn2zd2m61y6hyf6wirvhys0qkz";
|
|
};
|
|
|
|
dontBuild = true;
|
|
dontPatchELF = true;
|
|
dontStrip = true;
|
|
dontPatchShebangs = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -r {Gemfile*,vendor,lib,bin} $out
|
|
mv $out/bin/plugin $out/bin/logstash-plugin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Logstash is a data pipeline that helps you process logs and other event data from a variety of systems";
|
|
homepage = https://www.elastic.co/products/logstash;
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.wjlroe maintainers.offline ];
|
|
};
|
|
}
|