Skip to content

Commit

Permalink
Merge pull request #62786 from yurrriq/update/helmfile
Browse files Browse the repository at this point in the history
helmfile: 0.64.1 -> 0.73.0
  • Loading branch information
nlewo authored Jun 7, 2019
2 parents 8f5edef + 6fed865 commit d22cbb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 173 deletions.
19 changes: 11 additions & 8 deletions pkgs/applications/networking/cluster/helmfile/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:

let version = "0.64.1"; in
let version = "0.73.0"; in

buildGoPackage {
name = "helmfile-${version}";
buildGoModule {
pname = "helmfile";
inherit version;

src = fetchFromGitHub {
owner = "roboll";
repo = "helmfile";
rev = "v${version}";
sha256 = "1258c545fv4mcrzaw3z5gxl264fcahigaijgkjd4igh4pl0z0wxk";
sha256 = "0mg88mqdmfvg10iips6xz4pw82w88pyf3b73g9kwzlv9v9vhgdzd";
};

goDeps = ./deps.nix;

goPackagePath = "github.com/roboll/helmfile";

modSha256 = if stdenv.isDarwin
then "0jqss8bgwvggygmr5y2yj98apkqs8z3vmwyfh2f6s67k68h57m57"
else "1ksz1c4j7mhsbq6ifqab04588d48c9glyhr4d3d4jyvi19qhwx1d";

nativeBuildInputs = [ makeWrapper ];

buildFlagsArray = ''
Expand All @@ -24,7 +27,7 @@ buildGoPackage {
'';

postInstall = ''
wrapProgram $bin/bin/helmfile \
wrapProgram $out/bin/helmfile \
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
'';

Expand Down
165 changes: 0 additions & 165 deletions pkgs/applications/networking/cluster/helmfile/deps.nix

This file was deleted.

0 comments on commit d22cbb4

Please sign in to comment.