1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 hash = "sha256-TonkGh4j+xLGgSpspCedg6c2NpIZIzp5pv8VtWFssPk=";
14 vendorHash = "sha256-Qz3q/503A5QmsgEaDqChxS2tcUEJGmeT6YE6R3LBbcY=";
16 subPackages = [ "cmd/client" ];
18 ldflags = [ "-s" "-w" "-X github.com/knight42/krelay/pkg/constants.ClientVersion=${version}" ];
21 mv $out/bin/client $out/bin/kubectl-relay
25 description = "Drop-in replacement for `kubectl port-forward` with some enhanced features";
26 homepage = "https://github.com/knight42/krelay";
27 changelog = "https://github.com/knight42/krelay/releases/tag/v${version}";
28 license = licenses.mit;
29 maintainers = with maintainers; [ ivankovnatsky ];
30 mainProgram = "kubectl-relay";