summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/kapacitor/default.nix
blob: 804826941f21fd459dabbddad602ebacf6bf3d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, lib, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec {
  name = "kapacitor-${version}";
  version = "1.0.0";

  goPackagePath = "github.com/influxdata/kapacitor";

  src = fetchFromGitHub {
    owner = "influxdata";
    repo = "kapacitor";
    rev = "v${version}";
    sha256 = "14l9bhj6qdif79s4dyqqbnjgj3m4iarvw0ckld1wdhpdgvl8w9qh";
  };

  meta = with lib; {
    description = "Open source framework for processing, monitoring, and alerting on time series data";
    license = licenses.mit;
    homepage = https://influxdata.com/time-series-platform/kapacitor/;
    maintainers = with maintainers; [offline];
    platforms = with platforms; linux;
  };
}