packet-cli: 0.5.0 -> metal-cli v0.6.0
This commit is contained in:
parent
eb8721b106
commit
36587c22b3
4 changed files with 30 additions and 29 deletions
28
pkgs/development/tools/metal-cli/default.nix
Normal file
28
pkgs/development/tools/metal-cli/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "metal-cli";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "equinix";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dGeOFrsqhW0+aQyB4f6pvv4ZBawqKX2+WRskDWoLS7E=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ifSfeJjrZI1Hrsq64zAGBiLVc8GKvq+Ddg26gQooyTs=";
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/metal-cli $out/bin/metal
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "packet-cli";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "packethost";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0dlcx186l8kh6w3i4dvj7v90lhjkgvq1xkjb2vijy6399z41grw2";
|
||||
};
|
||||
|
||||
vendorSha256 = "1y1c369gsaf5crkdvv5g8d9p2g5602x2gcj8zy1q3wjx9lwhl0i6";
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/packet-cli $out/bin/packet
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Official Packet CLI";
|
||||
homepage = "https://github.com/packethost/packet-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Br1ght0ne nshalman ];
|
||||
};
|
||||
}
|
|
@ -620,6 +620,7 @@ mapAliases ({
|
|||
owncloudclient = owncloud-client; # added 2016-08
|
||||
ocz-ssd-guru = throw "ocz-ssd-guru has been removed due to there being no source available"; # added 2021-07-12
|
||||
p11_kit = p11-kit; # added 2018-02-25
|
||||
packet-cli = metal-cli; # added 2021-10-25
|
||||
paperless = paperless-ng; # added 2021-06-06
|
||||
parity = openethereum; # added 2020-08-01
|
||||
parquet-cpp = arrow-cpp; # added 2018-09-08
|
||||
|
|
|
@ -27146,7 +27146,7 @@ with pkgs;
|
|||
|
||||
packet-sd = callPackage ../development/tools/packet-sd { };
|
||||
|
||||
packet-cli = callPackage ../development/tools/packet-cli { };
|
||||
metal-cli = callPackage ../development/tools/metal-cli { };
|
||||
|
||||
pb_cli = callPackage ../tools/misc/pb_cli {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue