Add logstash-forwarder.
This commit is contained in:
parent
8392c8ba9f
commit
c3c045c59d
19
pkgs/tools/misc/logstash-forwarder/default.nix
Normal file
19
pkgs/tools/misc/logstash-forwarder/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, fetchgit, go }:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "logstash-forwarder-20140410";
|
||||||
|
src = fetchgit {
|
||||||
|
url = https://github.com/elasticsearch/logstash-forwarder.git;
|
||||||
|
rev = "ec504792108ab6536b45bcf6dff6d26a6b56fef3";
|
||||||
|
sha256 = "309545ceaec171bee997cad260bef1433e041b9f3bfe617d475bcf79924f943d";
|
||||||
|
};
|
||||||
|
buildInputs = [ go ];
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp build/bin/logstash-forwarder $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
homepage = https://github.com/elasticsearch/logstash-forwarder;
|
||||||
|
};
|
||||||
|
}
|
@ -1282,6 +1282,8 @@ let
|
|||||||
|
|
||||||
logstash = callPackage ../tools/misc/logstash { };
|
logstash = callPackage ../tools/misc/logstash { };
|
||||||
|
|
||||||
|
logstash-forwarder = callPackage ../tools/misc/logstash-forwarder { };
|
||||||
|
|
||||||
kippo = callPackage ../servers/kippo { };
|
kippo = callPackage ../servers/kippo { };
|
||||||
|
|
||||||
klavaro = callPackage ../games/klavaro {};
|
klavaro = callPackage ../games/klavaro {};
|
||||||
|
Loading…
Reference in New Issue
Block a user