ktunnel: init at 1.4.8

main
happysalada 2 years ago committed by Yt
parent a1ad66a4af
commit e427ac5955
  1. 39
      pkgs/applications/networking/cluster/ktunnel/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -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 ];
};
}

@ -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 { };

Loading…
Cancel
Save