metal-cli: 0.7.3 -> 0.7.4

This commit is contained in:
superherointj 2022-04-20 13:48:11 -03:00
parent bae464931d
commit e148dfe8b8

View File

@ -2,23 +2,29 @@
buildGoModule rec {
pname = "metal-cli";
version = "0.7.3";
version = "0.7.4";
src = fetchFromGitHub {
owner = "equinix";
repo = pname;
rev = "v${version}";
sha256 = "sha256-PsTQuEbo1ReWwZV4D14mEGsU99j49kleiL/6Xyk+g9s=";
sha256 = "sha256-muhHBUb5Ttj4n6fJzIJMqics5rKupeSBZAd4JxZUe64=";
};
ldflags = [
"-X github.com/equinix/metal-cli/cmd.Version=${version}"
];
vendorSha256 = "sha256-F8d5i9jvjY11Pv6w0ZXI3jr0Wix++B/w9oRTuJGpQfE=";
ldflags = [
"-s" "-w"
"-X github.com/equinix/metal-cli/cmd.Version=${version}"
];
doCheck = false;
doInstallCheck = true;
installCheckPhase = ''
$out/bin/metal --version | grep ${version}
'';
meta = with lib; {
description = "Official Equinix Metal CLI";
homepage = "https://github.com/equinix/metal-cli/";