1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/servers/nosql/influxdb/default.nix
2019-05-06 19:38:37 -04:00

31 lines
682 B
Nix

{ lib, buildGoPackage, fetchFromGitHub, }:
buildGoPackage rec {
pname = "influxdb";
version = "1.7.6";
src = fetchFromGitHub {
owner = "influxdata";
repo = pname;
rev = "v${version}";
sha256 = "07abzhmsgj7krmhf7jis50a4fc4w29h48nyzgvrll5lz3cax979q";
};
buildFlagsArray = [ ''-ldflags=
-X main.version=${version}
'' ];
goPackagePath = "github.com/influxdata/influxdb";
excludedPackages = "test";
goDeps = ./deps.nix;
meta = with lib; {
description = "An open-source distributed time series database";
license = licenses.mit;
homepage = https://influxdata.com/;
maintainers = with maintainers; [ offline zimbatm ];
};
}