2016-10-26 12:21:50 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, }:
|
2015-11-16 11:59:30 +00:00
|
|
|
|
2016-06-06 00:28:52 +00:00
|
|
|
buildGoPackage rec {
|
2016-06-12 13:38:11 +00:00
|
|
|
name = "influxdb-${version}";
|
2017-11-14 11:41:30 +00:00
|
|
|
version = "1.4.1";
|
2016-10-26 12:21:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "influxdata";
|
|
|
|
repo = "influxdb";
|
|
|
|
rev = "v${version}";
|
2017-11-14 11:41:30 +00:00
|
|
|
sha256 = "048ap70hdfkxhy0y8q1jsb0lql1i99jnf3cqaqar6qs2ynzsw9hd";
|
2016-10-26 12:21:50 +00:00
|
|
|
};
|
2016-06-12 13:38:11 +00:00
|
|
|
|
2017-11-25 02:45:49 +00:00
|
|
|
buildFlagsArray = [ ''-ldflags=
|
|
|
|
-X main.version=${version}
|
|
|
|
'' ];
|
|
|
|
|
2016-06-12 13:38:11 +00:00
|
|
|
goPackagePath = "github.com/influxdata/influxdb";
|
2015-11-16 11:59:30 +00:00
|
|
|
|
|
|
|
excludedPackages = "test";
|
2014-05-26 09:12:38 +00:00
|
|
|
|
2016-10-26 12:21:50 +00:00
|
|
|
# Generated with the nix2go
|
2016-09-10 10:04:13 +00:00
|
|
|
goDeps = ./. + builtins.toPath "/deps-${version}.nix";
|
2014-05-26 09:12:38 +00:00
|
|
|
|
2015-11-16 11:59:30 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "An open-source distributed time series database";
|
2014-05-26 09:12:38 +00:00
|
|
|
license = licenses.mit;
|
2015-11-16 11:59:30 +00:00
|
|
|
homepage = https://influxdb.com/;
|
2016-06-12 13:38:11 +00:00
|
|
|
maintainers = with maintainers; [ offline zimbatm ];
|
2014-05-26 09:12:38 +00:00
|
|
|
};
|
|
|
|
}
|