2015-01-06 08:18:55 +01:00
|
|
|
{ stdenv, fetchgit, go_1_3 }:
|
2014-04-10 13:31:23 +02:00
|
|
|
stdenv.mkDerivation {
|
2014-12-17 21:50:23 +01:00
|
|
|
name = "logstash-forwarder-20141216";
|
2014-04-10 13:31:23 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/elasticsearch/logstash-forwarder.git;
|
2014-12-17 21:50:23 +01:00
|
|
|
rev = "6082bd8aaecb2180f5b56f4fb1b2940a6935ef7b";
|
|
|
|
sha256 = "1686rlx5p7d2806cg8y4376m4l7nvg1yjgg52ccrs0v4fnqs6292";
|
2014-04-10 13:31:23 +02:00
|
|
|
};
|
2015-01-06 08:18:55 +01:00
|
|
|
buildInputs = [ go_1_3 ];
|
2014-04-10 13:31:23 +02:00
|
|
|
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;
|
2014-12-17 21:50:23 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-04-10 13:31:23 +02:00
|
|
|
};
|
|
|
|
}
|