3
0
Fork 0
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:
xeji 2018-06-18 22:42:30 +02:00 committed by GitHub
commit a28e7f27d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;