2020-05-12 10:37:05 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "vultr-cli";
|
2020-12-11 06:18:56 +01:00
|
|
|
version = "2.0.1";
|
2020-05-12 10:37:05 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vultr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-11 06:18:56 +01:00
|
|
|
sha256 = "14cl0rgkk2kw0qyanlm57nbcrnsnnx02ikd6b1mrsviamb6r1lz6";
|
2020-05-12 10:37:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-12 10:37:05 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Official command line tool for Vultr services";
|
|
|
|
homepage = "https://github.com/vultr/vultr-cli";
|
|
|
|
license = licenses.asl20;
|
2020-11-17 12:02:06 +01:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2020-05-12 10:37:05 +02:00
|
|
|
};
|
|
|
|
}
|