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}";
|
2017-11-14 12:41:30 +01:00
|
|
|
version = "1.4.1";
|
2016-10-26 14:21:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "influxdata";
|
|
|
|
repo = "influxdb";
|
|
|
|
rev = "v${version}";
|
2017-11-14 12:41:30 +01:00
|
|
|
sha256 = "048ap70hdfkxhy0y8q1jsb0lql1i99jnf3cqaqar6qs2ynzsw9hd";
|
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
|
|
|
|
2016-10-26 14:21:50 +02:00
|
|
|
# Generated with the nix2go
|
2016-09-10 12:04:13 +02:00
|
|
|
goDeps = ./. + builtins.toPath "/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 ];
|
2015-11-18 11:33:50 +01:00
|
|
|
platforms = platforms.linux;
|
2014-05-26 11:12:38 +02:00
|
|
|
};
|
|
|
|
}
|