nixpkgs-suyu/pkgs/tools/misc/logstash-forwarder/default.nix
William Roe 963b97088f Logstash-forwarder requires Go-1.1/1.2
The SSL stuff in it doesn't work right with Go 1.3 yet.
1.2 doesn't have a derivation for darwin, so go 1.1 should work for
everyone
2014-08-25 14:55:14 +02:00

19 lines
567 B
Nix

{ stdenv, fetchgit, go_1_1 }:
stdenv.mkDerivation {
name = "logstash-forwarder-20140410";
src = fetchgit {
url = https://github.com/elasticsearch/logstash-forwarder.git;
rev = "ec504792108ab6536b45bcf6dff6d26a6b56fef3";
sha256 = "309545ceaec171bee997cad260bef1433e041b9f3bfe617d475bcf79924f943d";
};
buildInputs = [ go_1_1 ];
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;
};
}