2024-03-04 08:15:32 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kafka-minion";
|
2024-03-05 11:43:08 +00:00
|
|
|
version = "2.2.7";
|
2024-03-04 08:15:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redpanda-data";
|
|
|
|
repo = "kminion";
|
|
|
|
rev = "0c90d4301ed4600d1aaf3345b6f16587d2f282fc";
|
|
|
|
hash = "sha256-CWjX46Sfc9Xj+R7+CZeMuTY0iUStzyZXI4FotwqR44M=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-6yfQVoY/bHMA4s0IN5ltnQdHWnE3kIKza36uEcGa11U=";
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-03-04 08:18:30 +00:00
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
|
2024-03-04 08:15:32 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cafkafk ];
|
|
|
|
mainProgram = "kminion";
|
|
|
|
};
|
|
|
|
}
|