2020-04-13 13:48:11 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2015-11-16 12:59:30 +01:00
|
|
|
|
2020-04-13 13:48:11 +02:00
|
|
|
buildGoModule rec {
|
2019-04-10 22:32:13 +02:00
|
|
|
pname = "influxdb";
|
2020-04-13 13:48:11 +02:00
|
|
|
version = "1.8.0";
|
2016-10-26 14:21:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "influxdata";
|
2019-04-10 22:32:13 +02:00
|
|
|
repo = pname;
|
2016-10-26 14:21:50 +02:00
|
|
|
rev = "v${version}";
|
2020-04-13 13:48:11 +02:00
|
|
|
sha256 = "111n36xifmd644xp80imqxx61nlap6fdwx1di2qphlqb43z99jrq";
|
2016-10-26 14:21:50 +02:00
|
|
|
};
|
2016-06-12 15:38:11 +02:00
|
|
|
|
2020-04-13 13:48:11 +02:00
|
|
|
modSha256 = "07v4ijblvl2zq049fdz5vdfhk6d3phrsajhnhwl46x02dbdzgj13";
|
2017-11-25 03:45:49 +01:00
|
|
|
|
2020-04-13 13:48:11 +02:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
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
|
|
|
meta = with lib; {
|
|
|
|
description = "An open-source distributed time series database";
|
2014-05-26 11:12:38 +02:00
|
|
|
license = licenses.mit;
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://influxdata.com/";
|
2016-06-12 15:38:11 +02:00
|
|
|
maintainers = with maintainers; [ offline zimbatm ];
|
2014-05-26 11:12:38 +02:00
|
|
|
};
|
|
|
|
}
|