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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
643 B
Nix
Raw Normal View History

2022-06-22 18:29:18 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2016-12-29 12:52:22 +00:00
2022-06-22 18:29:18 +00:00
buildGoModule rec {
pname = "vultr";
2021-03-10 05:21:19 +00:00
version = "2.0.3";
2016-12-29 12:52:22 +00:00
src = fetchFromGitHub {
owner = "JamesClonk";
repo = "vultr";
2020-05-12 08:28:39 +00:00
rev = "v${version}";
2021-03-10 05:21:19 +00:00
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
2016-12-29 12:52:22 +00:00
};
2022-06-22 18:29:18 +00:00
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 ];
2016-12-29 12:52:22 +00:00
};
}