2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-05-12 08:37:05 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "vultr-cli";
|
2022-01-22 02:08:08 +00:00
|
|
|
version = "2.12.0";
|
2020-05-12 08:37:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vultr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-22 02:08:08 +00:00
|
|
|
sha256 = "sha256-mT99flZAAhLSynD/8+fa74Mc3KK8pVs+OOFDYNSBzEE=";
|
2020-05-12 08:37:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-12 08:37:05 +00:00
|
|
|
description = "Official command line tool for Vultr services";
|
|
|
|
homepage = "https://github.com/vultr/vultr-cli";
|
|
|
|
license = licenses.asl20;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2020-05-12 08:37:05 +00:00
|
|
|
};
|
|
|
|
}
|