depot/third_party/nixpkgs/pkgs/by-name/ku/kubefwd/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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";
};
}