2015-11-16 12:59:30 +01: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 11:12:38 +02:00
|
|
|
};
|
|
|
|
|
2015-11-16 12:59:30 +01:00
|
|
|
excludedPackages = "test";
|
2014-05-26 11:12:38 +02:00
|
|
|
|
2015-11-16 12:59:30 +01:00
|
|
|
propagatedBuildInputs = with goPackages; [
|
|
|
|
raft raft-boltdb snappy crypto gogo.protobuf pool pat toml
|
|
|
|
gollectd statik liner
|
|
|
|
];
|
2014-05-26 11:12:38 +02:00
|
|
|
|
2015-11-16 12:59:30 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "An open-source distributed time series database";
|
2014-05-26 11:12:38 +02:00
|
|
|
license = licenses.mit;
|
2015-11-16 12:59:30 +01:00
|
|
|
homepage = https://influxdb.com/;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
platforms = with platforms; linux;
|
2014-05-26 11:12:38 +02:00
|
|
|
};
|
|
|
|
}
|