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

30 lines
753 B
Nix
Raw Normal View History

2016-06-06 01:28:52 +01:00
{ lib, buildGoPackage, fetchFromGitHub }:
2015-11-16 11:59:30 +00:00
2016-06-06 01:28:52 +01:00
buildGoPackage rec {
2016-06-12 14:38:11 +01:00
name = "influxdb-${version}";
version = "0.13.0";
goPackagePath = "github.com/influxdata/influxdb";
2015-11-16 11:59:30 +00:00
src = fetchFromGitHub {
2016-06-12 14:38:11 +01:00
owner = "influxdata";
2015-11-16 11:59:30 +00:00
repo = "influxdb";
2016-06-12 14:38:11 +01:00
rev = "v${version}";
sha256 = "0f7af5jb1f65qnslhc7zccml1qvk6xx5naczqfsf4s1zc556fdi4";
};
2015-11-16 11:59:30 +00:00
excludedPackages = "test";
2016-06-12 14:38:11 +01:00
# Generated with the `gdm2nix.rb` script and the `Godeps` file from the
# influxdb repo root.
2016-06-06 01:28:52 +01:00
goDeps = ./deps.json;
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 14:38:11 +01:00
maintainers = with maintainers; [ offline zimbatm ];
platforms = platforms.linux;
};
}