summary refs log tree commit diff
path: root/pkgs/servers/monitoring/timescale-prometheus/default.nix
blob: 7a50fb3b0476f33446ea5a2fcae479af63d2c710 (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
{ stdenv
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "timescale-prometheus";
  version = "0.1.0-beta.1";

  src = fetchFromGitHub {
    owner = "timescale";
    repo = pname;
    rev = "${version}";
    sha256 = "1q6xky4h9x4j2f0f6ajxwlnqq1pgd2n0z1ldrcifyamd90qkwcm5";
  };

  vendorSha256 = "sha256:1vp30y59w8mksqxy9ic37vj1jw4lbq24ahhb08a72rysylw94r57";

  doCheck = false;

  meta = with stdenv.lib; {
    description = "An open-source analytical platform for Prometheus metrics";
    homepage = "https://github.com/timescale/timescale-prometheus";
    license = licenses.asl20;
    platforms = platforms.unix;
    maintainers = [ maintainers."0x4A6F" ];
  };
}