summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-07-14 18:49:23 -0500
committerGitHub <noreply@github.com>2022-07-14 18:49:23 -0500
commit0436831b1ade9ce3c3775111f82f55ad081c6697 (patch)
tree0c6ecea9feec6d715c5b99d4c226ad3016cb1387 /pkgs
parentbc95aaf383e725e3dd96cfe11f7bf9bdd05e5900 (diff)
parentaf1462f0a227f676a5163b92bfc5e5646bbc7e28 (diff)
downloadnixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.tar
nixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.tar.gz
nixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.tar.bz2
nixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.tar.lz
nixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.tar.xz
nixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.tar.zst
nixpkgs-0436831b1ade9ce3c3775111f82f55ad081c6697.zip
Merge pull request #181267 from yurrriq/helmfile-repo-move
helmfile: 0.144.0 -> 0.145.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/cluster/helmfile/default.nix28
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;