chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / kr / krelay / package.nix
blobfdf8e90c0477cf23ecd91ced1c6c9cfc7e094ac4
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "krelay";
5   version = "0.1.2";
7   src = fetchFromGitHub {
8     owner = "knight42";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-TonkGh4j+xLGgSpspCedg6c2NpIZIzp5pv8VtWFssPk=";
12   };
14   vendorHash = "sha256-Qz3q/503A5QmsgEaDqChxS2tcUEJGmeT6YE6R3LBbcY=";
16   subPackages = [ "cmd/client" ];
18   ldflags = [ "-s" "-w" "-X github.com/knight42/krelay/pkg/constants.ClientVersion=${version}" ];
20   postInstall = ''
21     mv $out/bin/client $out/bin/kubectl-relay
22   '';
24   meta = with lib; {
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";
31   };