2014-07-29 15:10:25 +02:00
|
|
|
{ stdenv, fetchgit, go_1_1 }:
|
2014-04-10 13:31:23 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "logstash-forwarder-20140410";
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/elasticsearch/logstash-forwarder.git;
|
|
|
|
rev = "ec504792108ab6536b45bcf6dff6d26a6b56fef3";
|
|
|
|
sha256 = "309545ceaec171bee997cad260bef1433e041b9f3bfe617d475bcf79924f943d";
|
|
|
|
};
|
2014-07-29 15:10:25 +02:00
|
|
|
buildInputs = [ go_1_1 ];
|
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-08-25 14:50:25 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-04-10 13:31:23 +02:00
|
|
|
};
|
|
|
|
}
|