3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/nosql/influxdb/default.nix

29 lines
694 B
Nix
Raw Normal View History

2020-04-13 12:48:11 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
2015-11-16 11:59:30 +00:00
2020-04-13 12:48:11 +01:00
buildGoModule rec {
2019-04-10 21:32:13 +01:00
pname = "influxdb";
2020-09-05 03:11:12 +01:00
version = "1.8.2";
src = fetchFromGitHub {
owner = "influxdata";
2019-04-10 21:32:13 +01:00
repo = pname;
rev = "v${version}";
2020-09-05 03:11:12 +01:00
sha256 = "11zkia43i3in1xv84iz6rm9cfhf4k6nxn144m7dz7a7nv3chi20g";
};
2016-06-12 14:38:11 +01:00
vendorSha256 = "097x3z1fhdl5s3ni2qzbqxqr60l6lqcrbikq20fs052dp287q0sp";
doCheck = false;
2020-04-13 12:48:11 +01:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
2015-11-16 11:59:30 +00:00
excludedPackages = "test";
2015-11-16 11:59:30 +00:00
meta = with lib; {
description = "An open-source distributed time series database";
license = licenses.mit;
homepage = "https://influxdata.com/";
2016-06-12 14:38:11 +01:00
maintainers = with maintainers; [ offline zimbatm ];
};
}