2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "vultr";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "2.0.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
goPackagePath = "github.com/JamesClonk/vultr";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JamesClonk";
|
|
|
|
repo = "vultr";
|
2020-05-15 21:57:56 +00:00
|
|
|
rev = "v${version}";
|
2021-03-20 04:20:00 +00:00
|
|
|
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A command line tool for Vultr services, a provider for cloud virtual private servers";
|
|
|
|
homepage = "https://github.com/JamesClonk/vultr";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.zauberpony ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|