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

29 lines
692 B
Nix
Raw Normal View History

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