3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/istioctl/default.nix
Teo Klestrup Röijezon 0f23e0b661 istioctl: bundle charts
Fixes #94163
2020-07-29 11:45:08 +02:00

32 lines
876 B
Nix

{ lib, buildGoModule, fetchFromGitHub, go-bindata }:
buildGoModule rec {
pname = "istioctl";
version = "1.6.5";
src = fetchFromGitHub {
owner = "istio";
repo = "istio";
rev = version;
sha256 = "0xga0vjr2nfbxwbawly8vg9vnpavxbmc1agg2a3cp1ncmzfrgpcx";
};
vendorSha256 = "15l9z2a8p46jvmkl0vvm6s196mlics0qgmpm3yq3bn6cqnybdsij";
nativeBuildInputs = [ go-bindata ];
preBuild = ''
patchShebangs operator/scripts
operator/scripts/create_assets_gen.sh
'';
subPackages = [ "istioctl/cmd/istioctl" ];
meta = with lib; {
description = "Istio configuration command line utility for service operators to debug and diagnose their Istio mesh";
homepage = "https://istio.io/latest/docs/reference/commands/istioctl";
license = licenses.asl20;
maintainers = with maintainers; [ veehaitch ];
platforms = platforms.unix;
};
}