Skip to content

Commit

Permalink
heroku-cli: 5.6.14 -> 5.6.32
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Mar 12, 2017
1 parent a7843b0 commit e18d518
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions pkgs/development/tools/heroku/default.nix
Expand Up @@ -6,16 +6,29 @@ with stdenv.lib;
let
cli = buildGoPackage rec {
name = "cli-${version}";
version = "5.6.14";
version = "5.6.32";

goPackagePath = "github.com/heroku/cli";

src = fetchFromGitHub {
owner = "heroku";
repo = "cli";
rev = "v${version}";
sha256 = "11jccham1vkmh5284l6i30na4a4y7b1jhi2ci2z2wwx8m3gkypq9";
sha256 = "062aa79mv2njjb0ix7isbz6646wxmsldv27bsz5v2pbv597km0vz";
};

buildFlagsArray = ''
-ldflags=
-X=main.Version=${version}
-X=main.Channel=stable
-X=main.Autoupdate=no
'';

preCheck = ''
export HOME=/tmp
'';

doCheck = true;
};

in stdenv.mkDerivation rec {
Expand Down

0 comments on commit e18d518

Please sign in to comment.