13 src = fetchFromGitHub {
17 hash = "sha256-HGdNCGCJ8LsXyRSinNu1EDy9XuI7mTHONAgti2SETWw=";
20 vendorHash = "sha256-zWgza1eiO4UF/RL2Z4R4bvO+tgcN1KT8nBZor/plY+A=";
22 proxyVendor = true; # darwin/linux hash mismatch
26 subPackages = [ "." ];
28 ldflags = [ "-s" "-w" "-X go.szostok.io/version.version=v${version}" ];
31 [ installShellFiles ] ++
32 lib.optional (pluginsDir != null) makeWrapper;
34 postInstall = lib.optionalString (pluginsDir != null) ''
35 wrapProgram $out/bin/helmfile \
36 --set HELM_PLUGINS "${pluginsDir}"
38 installShellCompletion --cmd helmfile \
39 --bash <($out/bin/helmfile completion bash) \
40 --fish <($out/bin/helmfile completion fish) \
41 --zsh <($out/bin/helmfile completion zsh)
45 description = "Declarative spec for deploying Helm charts";
46 mainProgram = "helmfile";
48 Declaratively deploy your Kubernetes manifests, Kustomize configs,
49 and charts as Helm releases in one shot.
51 homepage = "https://helmfile.readthedocs.io/";
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [ pneumaticat yurrriq ];