2021-10-25 18:34:31 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "metal-cli";
|
2022-01-24 19:05:20 +00:00
|
|
|
version = "0.7.1";
|
2021-10-25 18:34:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "equinix";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-24 19:05:20 +00:00
|
|
|
sha256 = "sha256-Ekwucff12FIjaZ8qDvonhTdz7+DRpPLMGz2yqaCy+Bc=";
|
2021-10-25 18:34:31 +01:00
|
|
|
};
|
|
|
|
|
2021-12-30 20:37:39 +00:00
|
|
|
vendorSha256 = "sha256-F8d5i9jvjY11Pv6w0ZXI3jr0Wix++B/w9oRTuJGpQfE=";
|
2021-10-25 18:34:31 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Official Equinix Metal CLI";
|
|
|
|
homepage = "https://github.com/equinix/metal-cli/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ Br1ght0ne nshalman ];
|
|
|
|
};
|
|
|
|
}
|