bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
32 lines
682 B
Nix
32 lines
682 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubefwd";
|
|
version = "1.22.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "txn2";
|
|
repo = "kubefwd";
|
|
rev = version;
|
|
hash = "sha256-xTd/1h9fW2GbZ2u3RsExbQouRZot9CUDuqNLItRySxM=";
|
|
};
|
|
|
|
vendorHash = "sha256-qAlzgPw1reDZYK+InlnAsBgVemVumWwLgEuYm+ALcCs=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=main.Version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Bulk port forwarding Kubernetes services for local development";
|
|
homepage = "https://github.com/txn2/kubefwd";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ iogamaster ];
|
|
mainProgram = "kubefwd";
|
|
};
|
|
}
|