about summary refs log tree commit diff
path: root/pkgs/development/tools/vultr
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-06-22 21:29:18 +0300
committerAzat Bahawi <azat@bahawi.net>2022-06-22 21:29:18 +0300
commitfbf49431d7c1ae0c8f42c6c886138d6839d49974 (patch)
treeceab06b0d0ac195b4593da592173c3d137decc8b /pkgs/development/tools/vultr
parent30d1a2f29e9b309533567dbe55d5ea72653cc6f9 (diff)
vultr: use buildGoModule
Diffstat (limited to 'pkgs/development/tools/vultr')
-rw-r--r--pkgs/development/tools/vultr/default.nix24
1 files changed, 16 insertions, 8 deletions
diff --git a/pkgs/development/tools/vultr/default.nix b/pkgs/development/tools/vultr/default.nix
index 2f1d6618d3fee..8a584ce669cbf 100644
--- a/pkgs/development/tools/vultr/default.nix
+++ b/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 ];
   };
 }