blob: 9dbee8d0a544787e2a87600f99c8a8aa7d95c9e9 (
plain) (
blame)
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
28
29
30
31
32
33
34
35
36
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-gadget";
version = "0.26.0";
src = fetchFromGitHub {
owner = "inspektor-gadget";
repo = "inspektor-gadget";
rev = "v${version}";
hash = "sha256-G2FvKnO+YuLlRlzfB1YMRhCHWa6v4sMFLyDqp12bzn4=";
};
vendorHash = "sha256-IrSx1iCOd95CWyLo6WuEtTFm6p62se/t8dcBmH5eOP4=";
CGO_ENABLED = 0;
ldflags = [
"-s" "-w"
"-X main.version=v${version}"
"-extldflags=-static"
];
tags = [
"withoutebpf"
];
subPackages = [ "cmd/kubectl-gadget" ];
meta = with lib; {
description = "A collection of gadgets for troubleshooting Kubernetes applications using eBPF";
homepage = "https://inspektor-gadget.io";
license = licenses.asl20;
maintainers = with maintainers; [ kranurag7 ];
};
}
|