2024-06-05 15:53:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "squid-exporter";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.12.0";
|
2024-06-05 15:53:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boynux";
|
|
|
|
repo = "squid-exporter";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
sha256 = "sha256-low1nIL7FbIYfIP7KWPskAQ50Hh+d7JI+ryYoR+mP10=";
|
2024-06-05 15:53:02 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
vendorHash = "sha256-0BNhjNveUDd0+X0do4Md58zJjXe3+KN27MPEviNuF3g=";
|
2024-06-05 15:53:02 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Squid Prometheus exporter";
|
|
|
|
homepage = "https://github.com/boynux/squid-exporter";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ srhb ];
|
|
|
|
};
|
|
|
|
}
|