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