c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
29 lines
747 B
Nix
29 lines
747 B
Nix
{ lib, buildGoModule, fetchFromGitHub, stdenv }:
|
|
|
|
buildGoModule rec {
|
|
pname = "influxdb";
|
|
version = "1.8.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "influxdata";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-PErAxRpSi1Kk6IpEAhsUSxCGYeY4p6bbhwLdbRB0M00=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-jgAbEWXL1LYRN7ud9ij0Z1KBGHPZ0sRq78tsK92ob8k=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
excludedPackages = "test";
|
|
|
|
meta = with lib; {
|
|
description = "An open-source distributed time series database";
|
|
license = licenses.mit;
|
|
homepage = "https://influxdata.com/";
|
|
maintainers = with maintainers; [ offline zimbatm ];
|
|
broken = stdenv.isDarwin; # build fails with go > 1.17
|
|
};
|
|
}
|