vultr: use buildGoModule
This commit is contained in:
parent
30d1a2f29e
commit
fbf49431d7
|
@ -1,9 +1,11 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "vultr";
|
pname = "vultr";
|
||||||
version = "2.0.3";
|
version = "2.0.3";
|
||||||
goPackagePath = "github.com/JamesClonk/vultr";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "JamesClonk";
|
owner = "JamesClonk";
|
||||||
|
@ -12,10 +14,16 @@ buildGoPackage rec {
|
||||||
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
|
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
vendorSha256 = null;
|
||||||
description = "A command line tool for Vultr services, a provider for cloud virtual private servers";
|
|
||||||
homepage = "https://github.com/JamesClonk/vultr";
|
# There are not test files
|
||||||
license = lib.licenses.mit;
|
doCheck = false;
|
||||||
maintainers = [ lib.maintainers.zauberpony ];
|
|
||||||
|
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…
Reference in a new issue