nixpkgs-suyu/pkgs/development/tools/vultr-cli/default.nix

25 lines
552 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-05-12 10:37:05 +02:00
buildGoModule rec {
pname = "vultr-cli";
2021-05-06 03:01:07 +02:00
version = "2.4.1";
2020-05-12 10:37:05 +02:00
src = fetchFromGitHub {
owner = "vultr";
repo = pname;
rev = "v${version}";
2021-05-06 03:01:07 +02:00
sha256 = "sha256:0qbsybs91v9vnkxj4kpwqhzk4hgpkq36wnixxjajg038x7slds4i";
2020-05-12 10:37:05 +02:00
};
vendorSha256 = null;
doCheck = false;
meta = with lib; {
2020-05-12 10:37:05 +02:00
description = "Official command line tool for Vultr services";
homepage = "https://github.com/vultr/vultr-cli";
license = licenses.asl20;
maintainers = with maintainers; [ Br1ght0ne ];
2020-05-12 10:37:05 +02:00
};
}