nixpkgs/pkgs/misc/logging/filebeat/default.nix

26 lines
618 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildGoPackage }:
2016-12-04 19:59:46 +01:00
buildGoPackage rec {
2016-12-04 19:59:46 +01:00
name = "filebeat-${version}";
version = "5.2.2";
2016-12-04 19:59:46 +01:00
src = fetchFromGitHub {
owner = "elastic";
repo = "beats";
rev = "v${version}";
sha256 = "19hkq19xpi3c9y5g1yq77sm2d5vzybn6mxxf0s5l6sw4l98aak5q";
2016-12-04 19:59:46 +01:00
};
goPackagePath = "github.com/elastic/beats";
2016-12-04 19:59:46 +01:00
subPackages = [ "filebeat" ];
2016-12-04 19:59:46 +01:00
meta = with stdenv.lib; {
2016-12-04 19:59:46 +01:00
description = "Lightweight shipper for logfiles";
homepage = https://www.elastic.co/products/beats;
license = licenses.asl20;
maintainers = [ maintainers.fadenb ];
platforms = platforms.linux;
2016-12-04 19:59:46 +01:00
};
}