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

30 lines
748 B
Nix
Raw Normal View History

2015-11-16 11:59:30 +00:00
{ lib, goPackages, fetchFromGitHub }:
goPackages.buildGoPackage rec {
name = "influxdb-${rev}";
rev = "v0.9.4";
goPackagePath = "github.com/influxdb/influxdb";
src = fetchFromGitHub {
inherit rev;
owner = "influxdb";
repo = "influxdb";
sha256 = "0yarymppnlpf2xab57i8jx595v47s5mdwnf13719mc1fv3q84yqn";
};
2015-11-16 11:59:30 +00:00
excludedPackages = "test";
2015-11-16 11:59:30 +00:00
propagatedBuildInputs = with goPackages; [
raft raft-boltdb snappy crypto gogo.protobuf pool pat toml
gollectd statik liner
];
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/;
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
};
}