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