summary refs log tree commit diff
path: root/pkgs/servers/nosql/influxdb/default.nix
blob: 50abc70bfb7197c48a1340377c593d4c88fa5872 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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";
  };

  excludedPackages = "test";

  propagatedBuildInputs = with goPackages; [
    raft raft-boltdb snappy crypto gogo.protobuf pool pat toml
    gollectd statik liner
  ];

  meta = with lib; {
    description = "An open-source distributed time series database";
    license = licenses.mit;
    homepage = https://influxdb.com/;
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
  };
}