2016-10-26 13:21:50 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, }:
|
2015-11-16 11:59:30 +00:00
|
|
|
|
2016-06-06 01:28:52 +01:00
|
|
|
buildGoPackage rec {
|
2019-04-10 21:32:13 +01:00
|
|
|
pname = "influxdb";
|
2019-05-07 00:38:37 +01:00
|
|
|
version = "1.7.6";
|
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}";
|
2019-05-07 00:38:37 +01:00
|
|
|
sha256 = "07abzhmsgj7krmhf7jis50a4fc4w29h48nyzgvrll5lz3cax979q";
|
2016-10-26 13:21:50 +01:00
|
|
|
};
|
2016-06-12 14:38:11 +01:00
|
|
|
|
2017-11-25 02:45:49 +00:00
|
|
|
buildFlagsArray = [ ''-ldflags=
|
|
|
|
-X main.version=${version}
|
|
|
|
'' ];
|
|
|
|
|
2016-06-12 14:38:11 +01:00
|
|
|
goPackagePath = "github.com/influxdata/influxdb";
|
2015-11-16 11:59:30 +00:00
|
|
|
|
|
|
|
excludedPackages = "test";
|
2014-05-26 10:12:38 +01:00
|
|
|
|
2019-04-10 21:32:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
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
|
|
|
};
|
|
|
|
}
|