ktunnel: init at 1.4.8

This commit is contained in:
happysalada 2022-06-30 10:02:44 -04:00 committed by Yt
parent a1ad66a4af
commit e427ac5955
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub }:
let
version = "1.4.8";
in
buildGoModule {
pname = "ktunnel";
inherit version;
src = fetchFromGitHub {
owner = "omrikiei";
repo = "ktunnel";
rev = "v${version}";
sha256 = "sha256-Iw7Z4iuKxmRrS51KP3k/ouXW4xssdNgxDDzNQR2Zygg=";
};
ldflags = [
"-s" "-w"
];
vendorSha256 = "sha256-p9AYZWNO2oqLich0qzZYuAk55HqB6ttS66ORuNZ4rJg=";
preCheck = "export HOME=$(mktemp -d)";
# # TODO investigate why some tests are failing
doCheck = false;
installCheckPhase = ''
runHook preInstallCheck
"$out/bin/ktunnel" --version
runHook postInstallCheck
'';
meta = with lib; {
description = "A cli that exposes your local resources to kubernetes ";
homepage = "https://github.com/omrikiei/ktunnel";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
};
}

View file

@ -28032,6 +28032,8 @@ with pkgs;
k9s = callPackage ../applications/networking/cluster/k9s { };
ktunnel = callPackage ../applications/networking/cluster/ktunnel { };
pgo-client = callPackage ../applications/networking/cluster/pgo-client { };
popeye = callPackage ../applications/networking/cluster/popeye { };