nixpkgs-suyu/pkgs/servers/nosql/influxdb/default.nix

31 lines
682 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub, }:
2015-11-16 12:59:30 +01:00
2016-06-06 02:28:52 +02:00
buildGoPackage rec {
2019-04-10 22:32:13 +02:00
pname = "influxdb";
2019-05-07 01:38:37 +02:00
version = "1.7.6";
src = fetchFromGitHub {
owner = "influxdata";
2019-04-10 22:32:13 +02:00
repo = pname;
rev = "v${version}";
2019-05-07 01:38:37 +02:00
sha256 = "07abzhmsgj7krmhf7jis50a4fc4w29h48nyzgvrll5lz3cax979q";
};
2016-06-12 15:38:11 +02: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";
2019-04-10 22:32:13 +02:00
goDeps = ./deps.nix;
2015-11-16 12:59:30 +01:00
meta = with lib; {
description = "An open-source distributed time series database";
license = licenses.mit;
2019-04-10 22:32:13 +02:00
homepage = https://influxdata.com/;
2016-06-12 15:38:11 +02:00
maintainers = with maintainers; [ offline zimbatm ];
};
}