summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-01-09 17:03:59 +0100
committerlassulus <lass@lassul.us>2017-01-09 17:03:59 +0100
commit91c4f86b31941843ab4a9788dc76ebf18adc871f (patch)
treef97450fc21cd3df9ac2cf922ce63209a8cfe35fb /krebs
parent13aa779c4422eee2af9fc686eb66a7de5d79abab (diff)
k 5: add kapacitor
we add this here until 17.03 is released
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/kapacitor/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/krebs/5pkgs/kapacitor/default.nix b/krebs/5pkgs/kapacitor/default.nix
new file mode 100644
index 000000000..804826941
--- /dev/null
+++ b/krebs/5pkgs/kapacitor/default.nix
@@ -0,0 +1,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;
+ };
+}