2016-10-26 14:21:50 +02:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, }:
|
2015-11-16 12:59:30 +01:00
|
|
|
|
2016-06-06 02:28:52 +02:00
|
|
|
buildGoPackage rec {
|
2016-06-12 15:38:11 +02:00
|
|
|
name = "influxdb-${version}";
|
2018-09-23 12:00:52 +02:00
|
|
|
version = "1.6.3";
|
2016-10-26 14:21:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "influxdata";
|
|
|
|
repo = "influxdb";
|
|
|
|
rev = "v${version}";
|
2018-09-23 12:00:52 +02:00
|
|
|
sha256 = "0xf16liapllk8qnw0vsy1ja4if1xlazwwaa4p0r5j7bny5lxm7zy";
|
2016-10-26 14:21:50 +02:00
|
|
|
};
|
2016-06-12 15:38:11 +02:00
|
|
|
|
2017-11-25 03:45:49 +01:00
|
|
|
buildFlagsArray = [ ''-ldflags=
|
|
|
|
-X main.version=${version}
|
|
|
|
'' ];
|
|
|
|
|
2016-06-12 15:38:11 +02:00
|
|
|
goPackagePath = "github.com/influxdata/influxdb";
|
2015-11-16 12:59:30 +01:00
|
|
|
|
|
|
|
excludedPackages = "test";
|
2014-05-26 11:12:38 +02:00
|
|
|
|
2018-09-23 12:00:52 +02:00
|
|
|
# Generated with dep2nix (for 1.6.3) / nix2go (for 1.4.1).
|
2018-05-22 22:42:02 +02:00
|
|
|
goDeps = ./. + "/deps-${version}.nix";
|
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/;
|
2016-06-12 15:38:11 +02:00
|
|
|
maintainers = with maintainers; [ offline zimbatm ];
|
2014-05-26 11:12:38 +02:00
|
|
|
};
|
|
|
|
}
|