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

33 lines
776 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub, }:
2015-11-16 11:59:30 +00:00
2016-06-06 00:28:52 +00:00
buildGoPackage rec {
2016-06-12 13:38:11 +00:00
name = "influxdb-${version}";
2017-11-14 11:41:30 +00:00
version = "1.4.1";
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb";
rev = "v${version}";
2017-11-14 11:41:30 +00:00
sha256 = "048ap70hdfkxhy0y8q1jsb0lql1i99jnf3cqaqar6qs2ynzsw9hd";
};
2016-06-12 13:38:11 +00:00
buildFlagsArray = [ ''-ldflags=
-X main.version=${version}
'' ];
2016-06-12 13:38:11 +00:00
goPackagePath = "github.com/influxdata/influxdb";
2015-11-16 11:59:30 +00:00
excludedPackages = "test";
# Generated with the nix2go
goDeps = ./. + "/deps-${version}.nix";
2015-11-16 11:59:30 +00:00
meta = with lib; {
description = "An open-source distributed time series database";
license = licenses.mit;
2015-11-16 11:59:30 +00:00
homepage = https://influxdb.com/;
2016-06-12 13:38:11 +00:00
maintainers = with maintainers; [ offline zimbatm ];
platforms = platforms.linux;
};
}