2020-08-13 18:20:46 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "timescale-prometheus";
|
2020-08-19 15:14:14 +01:00
|
|
|
version = "0.1.0-beta.2";
|
2020-08-13 18:20:46 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timescale";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${version}";
|
2020-08-19 15:14:14 +01:00
|
|
|
sha256 = "1rrr0qb27hh3kcmmxapr1j39dhfxf02vihpjf4b7zpwdf1mpvrbc";
|
2020-08-13 18:20:46 +01:00
|
|
|
};
|
|
|
|
|
2020-08-19 15:14:14 +01:00
|
|
|
vendorSha256 = "sha256:0y5rq2y48kf2z1z3a8ags6rqzfvjs54klk2679fk8x0yjamj5x04";
|
2020-08-13 18:20:46 +01:00
|
|
|
|
|
|
|
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;
|
2020-07-29 11:49:07 +01:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2020-08-13 18:20:46 +01:00
|
|
|
};
|
|
|
|
}
|