diff options
-rw-r--r-- | pkgs/applications/networking/cluster/helmfile/default.nix | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/pkgs/applications/networking/cluster/helmfile/default.nix b/pkgs/applications/networking/cluster/helmfile/default.nix index 14cb38d60ce..2a9b0477233 100644 --- a/pkgs/applications/networking/cluster/helmfile/default.nix +++ b/pkgs/applications/networking/cluster/helmfile/default.nix @@ -1,27 +1,39 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: buildGoModule rec { pname = "helmfile"; - version = "0.144.0"; + version = "0.145.2"; src = fetchFromGitHub { - owner = "roboll"; + owner = "helmfile"; repo = "helmfile"; rev = "v${version}"; - sha256 = "sha256-mfRPrgnOXqfmbpvaIxJNkgkdTEJKcFycrgFmQ7YDvTU="; + sha256 = "sha256-ipGMGby7qUoFJNc+7+Gq+JaBUdxm19NwhklWsTpslVI="; }; - vendorSha256 = "sha256-ddf3m0DGsjubzp/aERvhfJ51UKKSNMC1Xu7ybyif8HA="; + vendorSha256 = "sha256-031Xdr3u35uirDBZhExdh8PMAZa1gfMTC2II8VMbr6Q="; doCheck = false; subPackages = [ "." ]; - ldflags = [ "-s" "-w" "-X github.com/roboll/helmfile/pkg/app/version.Version=${version}" ]; + ldflags = [ "-s" "-w" "-X github.com/helmfile/helmfile/pkg/app/version.Version=${version}" ]; + + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installShellCompletion --cmd helmfile \ + --bash ./autocomplete/helmfile_bash_autocomplete \ + --zsh ./autocomplete/helmfile_zsh_autocomplete + ''; meta = { - description = "Deploy Kubernetes Helm charts"; - homepage = "https://github.com/roboll/helmfile"; + description = "Declarative spec for deploying Helm charts"; + longDescription = '' + Declaratively deploy your Kubernetes manifests, Kustomize configs, + and charts as Helm releases in one shot. + ''; + homepage = "https://helmfile.readthedocs.io/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pneumaticat yurrriq ]; platforms = lib.platforms.unix; |