nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5}:
6
7buildGoModule {
8 pname = "kafka-minion";
9 version = "2.2.7";
10
11 src = fetchFromGitHub {
12 owner = "redpanda-data";
13 repo = "kminion";
14 rev = "0c90d4301ed4600d1aaf3345b6f16587d2f282fc";
15 hash = "sha256-CWjX46Sfc9Xj+R7+CZeMuTY0iUStzyZXI4FotwqR44M=";
16 };
17
18 vendorHash = "sha256-6yfQVoY/bHMA4s0IN5ltnQdHWnE3kIKza36uEcGa11U=";
19
20 doCheck = false;
21
22 passthru.updateScript = ./update.sh;
23
24 meta = with lib; {
25 description = "KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go";
26 license = licenses.mit;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ cafkafk ];
29 mainProgram = "kminion";
30 };
31}