nixpkgs-suyu/pkgs/tools/misc/logstash-forwarder/default.nix

21 lines
598 B
Nix
Raw Normal View History

2015-01-06 08:18:55 +01:00
{ stdenv, fetchgit, go_1_3 }:
2014-04-10 13:31:23 +02:00
stdenv.mkDerivation {
name = "logstash-forwarder-20141216";
2014-04-10 13:31:23 +02:00
src = fetchgit {
url = https://github.com/elasticsearch/logstash-forwarder.git;
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;
platforms = stdenv.lib.platforms.unix;
2014-04-10 13:31:23 +02:00
};
}