summary refs log tree commit diff
path: root/pkgs/misc/logging/heartbeat/default.nix
blob: faa558589f251d9b9fe88fd9f189da9fba4b52c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec {
  name = "heartbeat-${version}";
  version = "5.2.2";

  src = fetchFromGitHub {
    owner = "elastic";
    repo = "beats";
    rev = "v${version}";
    sha256 = "19hkq19xpi3c9y5g1yq77sm2d5vzybn6mxxf0s5l6sw4l98aak5q";
  };

  goPackagePath = "github.com/elastic/beats";

  subPackages = [ "heartbeat" ];

  meta = with stdenv.lib; {
    description = "Lightweight shipper for uptime monitoring";
    homepage = https://www.elastic.co/products/beats;
    license = licenses.asl20;
    maintainers = [ maintainers.fadenb ];
    platforms = platforms.linux;
  };
}