Merge pull request #176619 from azahi/vultr

vultr: use buildGoModule
main
ajs124 2 years ago committed by GitHub
commit 8ea5f3c133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      pkgs/development/tools/vultr/default.nix

@ -1,9 +1,11 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoPackage rec {
buildGoModule rec {
pname = "vultr";
version = "2.0.3";
goPackagePath = "github.com/JamesClonk/vultr";
src = fetchFromGitHub {
owner = "JamesClonk";
@ -12,10 +14,16 @@ buildGoPackage rec {
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
};
meta = {
description = "A command line tool for Vultr services, a provider for cloud virtual private servers";
homepage = "https://github.com/JamesClonk/vultr";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.zauberpony ];
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 ];
};
}

Loading…
Cancel
Save