filebeat: init at 5.2.1

This commit is contained in:
Tristan Helmich 2016-12-04 19:59:46 +01:00 committed by Robin Gloster
parent 9fce67264d
commit 9fe3b0eb13
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "filebeat-${version}";
version = "5.2.1";
src = fetchurl {
url = "https://artifacts.elastic.co/downloads/beats/filebeat/${name}-linux-x86_64.tar.gz";
sha256 = "0kwkd3n6jmd0mwbvk2dng8843mxyq4mfvlm3hc8d1vd2m1m9wlhi";
};
# statically linked binary, no need to build anything
dontBuild = true;
doCheck = false;
installPhase = ''
mkdir -p $out/bin
cp filebeat $out/bin/
'';
meta = {
description = "Lightweight shipper for logfiles";
homepage = https://www.elastic.co/products/beats;
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.fadenb ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -902,6 +902,8 @@ with pkgs;
fastJson = callPackage ../development/libraries/fastjson { }; fastJson = callPackage ../development/libraries/fastjson { };
filebeat = callPackage ../misc/logging/filebeat { };
filebench = callPackage ../tools/misc/filebench { }; filebench = callPackage ../tools/misc/filebench { };
fsmon = callPackage ../tools/misc/fsmon { }; fsmon = callPackage ../tools/misc/fsmon { };