25 lines
555 B
Nix
25 lines
555 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vultr-cli";
|
|
version = "2.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vultr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "14cl0rgkk2kw0qyanlm57nbcrnsnnx02ikd6b1mrsviamb6r1lz6";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Official command line tool for Vultr services";
|
|
homepage = "https://github.com/vultr/vultr-cli";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|