Merge pull request #95051 from r-ryantm/auto-update/exoscale-cli

exoscale-cli: 1.15.0 -> 1.16.0
This commit is contained in:
Mario Rodas 2020-08-10 19:51:33 -05:00 committed by GitHub
commit ae76d7cd25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,19 @@
{ stdenv, buildGo114Package, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGo114Package rec {
buildGoPackage rec {
pname = "exoscale-cli";
version = "1.15.0";
version = "1.16.0";
src = fetchFromGitHub {
owner = "exoscale";
repo = "cli";
rev = "v${version}";
sha256 = "00cyxy4lidpdf1vvji1nbdlixqxzzpj91gwf0kkdqpr17v562h9m";
sha256 = "0w0lgc3db9r1knd7hp98ycxfbfxbpfrb0vf4vxcqxlvlkjcrvg1z";
};
goPackagePath = "github.com/exoscale/cli";
buildFlags = "-ldflags=-X=main.version=${version}";
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
# ensures only the cli binary is built and we don't clutter bin/ with submodules
subPackages = [ "." ];