helmfile: update from 0.19.0 to 0.40.1
This commit is contained in:
parent
2f94acd9ae
commit
a0e41023ec
@ -1,6 +1,6 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
|
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
|
||||||
|
|
||||||
let version = "0.19.0"; in
|
let version = "0.40.1"; in
|
||||||
|
|
||||||
buildGoPackage {
|
buildGoPackage {
|
||||||
name = "helmfile-${version}";
|
name = "helmfile-${version}";
|
||||||
@ -9,13 +9,18 @@ buildGoPackage {
|
|||||||
owner = "roboll";
|
owner = "roboll";
|
||||||
repo = "helmfile";
|
repo = "helmfile";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0wjzzaygdnnvyi5a78bhmz2sxc4gykdl00h78dkgvj7aaw05s9yd";
|
sha256 = "02ir10070rpayv9s53anldwjy5ggl268shgf085d188wl6vshaiv";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/roboll/helmfile";
|
goPackagePath = "github.com/roboll/helmfile";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
buildFlagsArray = ''
|
||||||
|
-ldflags=
|
||||||
|
-X main.Version=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $bin/bin/helmfile \
|
wrapProgram $bin/bin/helmfile \
|
||||||
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
|
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
|
||||||
|
Loading…
Reference in New Issue
Block a user