Skip to content

Instantly share code, notes, and snippets.

@Chili-Man
Created January 15, 2021 05:50
Show Gist options
  • Save Chili-Man/1fc2406b4a96b045de81c7719e6e1d88 to your computer and use it in GitHub Desktop.
Save Chili-Man/1fc2406b4a96b045de81c7719e6e1d88 to your computer and use it in GitHub Desktop.
helm 3.5.0 dbug
with import <nixpkgs> {};
buildGoModule rec {
pname = "helm";
version = "3.5.0";
src = fetchFromGitHub {
owner = "helm";
repo = "helm";
rev = "v${version}";
sha256 = "13il2j5qr6wv9wqax4y77pgxfay12fkr6z0jvsjbg2ld2yd83953";
};
vendorSha256 = "0000000000000000000000000000000000000000000000000000";
doCheck = false;
subPackages = [ "cmd/helm" ];
buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.version=v${version}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
$out/bin/helm completion bash > helm.bash
$out/bin/helm completion zsh > helm.zsh
installShellCompletion helm.{bash,zsh}
'';
meta = with lib; {
homepage = "https://github.com/kubernetes/helm";
description = "A package manager for kubernetes";
license = licenses.asl20;
maintainers = with maintainers; [ rlupton20 edude03 saschagrunert Frostman Chili-Man ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment