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

25 lines
553 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoModule, fetchFromGitHub }:
2020-05-12 09:37:05 +01:00
buildGoModule rec {
pname = "vultr-cli";
2020-12-11 05:18:56 +00:00
version = "2.0.1";
2020-05-12 09:37:05 +01:00
src = fetchFromGitHub {
owner = "vultr";
repo = pname;
rev = "v${version}";
2020-12-11 05:18:56 +00:00
sha256 = "14cl0rgkk2kw0qyanlm57nbcrnsnnx02ikd6b1mrsviamb6r1lz6";
2020-05-12 09:37:05 +01:00
};
vendorSha256 = null;
doCheck = false;
meta = with lib; {
2020-05-12 09:37:05 +01: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 09:37:05 +01:00
};
}