blob: 72aa74ae48f46bf330fcbccd08af05a1d8dfbfff (
about) (
plain)
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
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "prom2json";
version = "1.4.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "prometheus";
repo = "prom2json";
sha256 = "sha256-3A26xMXJv2MMpFoc0zKZdSLg9WCueIsKdRdyM2NsUJw=";
};
vendorHash = "sha256-2XZYc6byupFTR2HCAVSL3wLYWwuzkkhqegzZRTakcgI=";
meta = with lib; {
description = "Tool to scrape a Prometheus client and dump the result as JSON";
mainProgram = "prom2json";
homepage = "https://github.com/prometheus/prom2json";
license = licenses.asl20;
maintainers = with maintainers; [ benley ];
};
}
|