forked from mirrors/nixpkgs
Merge pull request #42099 from Pneumaticat/helmfile-updates
Helmfile updates (0.16.0 -> 0.19.0, use wrapProgram)
This commit is contained in:
commit
a28e7f27d4
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub, ... }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
|
||||
|
||||
let version = "0.16.0"; in
|
||||
let version = "0.19.0"; in
|
||||
|
||||
buildGoPackage {
|
||||
name = "helmfile-${version}";
|
||||
|
@ -9,11 +9,19 @@ buildGoPackage {
|
|||
owner = "roboll";
|
||||
repo = "helmfile";
|
||||
rev = "v${version}";
|
||||
sha256 = "12gxlan89h0r83aaacshh58nd1pi26gx5gkna0ksll9wsfvraj4d";
|
||||
sha256 = "0wjzzaygdnnvyi5a78bhmz2sxc4gykdl00h78dkgvj7aaw05s9yd";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/roboll/helmfile";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $bin/bin/helmfile \
|
||||
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Deploy Kubernetes Helm charts";
|
||||
homepage = https://github.com/roboll/helmfile;
|
||||
|
|
Loading…
Reference in a new issue