2015-11-16 11:59:30 +00:00
|
|
|
{ lib, goPackages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
goPackages.buildGoPackage rec {
|
|
|
|
name = "influxdb-${rev}";
|
|
|
|
rev = "v0.9.4";
|
|
|
|
goPackagePath = "github.com/influxdb/influxdb";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "influxdb";
|
|
|
|
repo = "influxdb";
|
|
|
|
sha256 = "0yarymppnlpf2xab57i8jx595v47s5mdwnf13719mc1fv3q84yqn";
|
2014-05-26 10:12:38 +01:00
|
|
|
};
|
|
|
|
|
2015-11-16 11:59:30 +00:00
|
|
|
excludedPackages = "test";
|
2014-05-26 10:12:38 +01:00
|
|
|
|
2015-11-16 11:59:30 +00:00
|
|
|
propagatedBuildInputs = with goPackages; [
|
|
|
|
raft raft-boltdb snappy crypto gogo.protobuf pool pat toml
|
|
|
|
gollectd statik liner
|
|
|
|
];
|
2014-05-26 10:12:38 +01:00
|
|
|
|
2015-11-16 11:59:30 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "An open-source distributed time series database";
|
2014-05-26 10:12:38 +01:00
|
|
|
license = licenses.mit;
|
2015-11-16 11:59:30 +00:00
|
|
|
homepage = https://influxdb.com/;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
2015-11-18 10:33:50 +00:00
|
|
|
platforms = platforms.linux;
|
2014-05-26 10:12:38 +01:00
|
|
|
};
|
|
|
|
}
|