1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "vultr-cli";
5 version = "2.16.2";
6
7 src = fetchFromGitHub {
8 owner = "vultr";
9 repo = pname;
10 rev = "v${version}";
11 hash = "sha256-TugONG98MC1+B9kDLH9xeMmD41fHNV8VCWWWtOdlwys=";
12 };
13
14 vendorHash = "sha256-P4xr7zVTwBRVoPxtKn3FNV7Vp6lI4uWdTJyXwex8Fe4=";
15
16 meta = with lib; {
17 description = "Official command line tool for Vultr services";
18 homepage = "https://github.com/vultr/vultr-cli";
19 license = licenses.asl20;
20 maintainers = with maintainers; [ Br1ght0ne ];
21 };
22}