mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
32 lines
774 B
Nix
32 lines
774 B
Nix
{ lib, buildGoPackage, fetchFromGitHub, }:
|
|
|
|
buildGoPackage rec {
|
|
name = "influxdb-${version}";
|
|
version = "1.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "influxdata";
|
|
repo = "influxdb";
|
|
rev = "v${version}";
|
|
sha256 = "0xf16liapllk8qnw0vsy1ja4if1xlazwwaa4p0r5j7bny5lxm7zy";
|
|
};
|
|
|
|
buildFlagsArray = [ ''-ldflags=
|
|
-X main.version=${version}
|
|
'' ];
|
|
|
|
goPackagePath = "github.com/influxdata/influxdb";
|
|
|
|
excludedPackages = "test";
|
|
|
|
# Generated with dep2nix (for 1.6.3) / nix2go (for 1.4.1).
|
|
goDeps = ./. + "/deps-${version}.nix";
|
|
|
|
meta = with lib; {
|
|
description = "An open-source distributed time series database";
|
|
license = licenses.mit;
|
|
homepage = https://influxdb.com/;
|
|
maintainers = with maintainers; [ offline zimbatm ];
|
|
};
|
|
}
|