Commit e427ac59 authored by happysalada's avatar happysalada Committed by Yt
Browse files

ktunnel: init at 1.4.8

parent a1ad66a4
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };