889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
29 lines
643 B
Nix
29 lines
643 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "vultr";
|
|
version = "2.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JamesClonk";
|
|
repo = "vultr";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
# There are not test files
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Vultr CLI and API client library";
|
|
homepage = "https://jamesclonk.github.io/vultr";
|
|
changelog = "https://github.com/JamesClonk/vultr/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zauberpony ];
|
|
};
|
|
}
|