mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
parent
c762005190
commit
e8fea0a559
32
pkgs/by-name/ku/kubefwd/package.nix
Normal file
32
pkgs/by-name/ku/kubefwd/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user