depot/pkgs/by-name/ku/kubefwd/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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