mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
filebeat: init at 5.2.1
This commit is contained in:
parent
9fce67264d
commit
9fe3b0eb13
28
pkgs/misc/logging/filebeat/default.nix
Normal file
28
pkgs/misc/logging/filebeat/default.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user