about summary refs log tree commit diff
path: root/pkgs/tools/system/consul-template/default.nix
diff options
context:
space:
mode:
authorPhillip Cloud <cloud@standard.ai>2021-01-03 10:51:41 -0500
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-05 14:51:10 -0800
commit014007ff20aa96f1c9da488620655d7d604460f3 (patch)
treeecc34e1ed82716209d25aa130b7e529fc90bdb78 /pkgs/tools/system/consul-template/default.nix
parentc1cc0f5b992ad16def3f2546786115e0e2855c56 (diff)
downloadnixlib-014007ff20aa96f1c9da488620655d7d604460f3.tar
nixlib-014007ff20aa96f1c9da488620655d7d604460f3.tar.gz
nixlib-014007ff20aa96f1c9da488620655d7d604460f3.tar.bz2
nixlib-014007ff20aa96f1c9da488620655d7d604460f3.tar.lz
nixlib-014007ff20aa96f1c9da488620655d7d604460f3.tar.xz
nixlib-014007ff20aa96f1c9da488620655d7d604460f3.tar.zst
nixlib-014007ff20aa96f1c9da488620655d7d604460f3.zip
consul-template: 0.19.4 -> 0.25.1
Diffstat (limited to 'pkgs/tools/system/consul-template/default.nix')
-rw-r--r--pkgs/tools/system/consul-template/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/tools/system/consul-template/default.nix b/pkgs/tools/system/consul-template/default.nix
index 69d5cd6bb736..fc388dd7cea4 100644
--- a/pkgs/tools/system/consul-template/default.nix
+++ b/pkgs/tools/system/consul-template/default.nix
@@ -1,24 +1,27 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
 
-buildGoPackage rec {
+buildGoModule rec {
   pname = "consul-template";
-  version = "0.19.4";
-  rev = "v${version}";
-
-  goPackagePath = "github.com/hashicorp/consul-template";
+  version = "0.25.1";
 
   src = fetchFromGitHub {
-    inherit rev;
     owner = "hashicorp";
     repo = "consul-template";
-    sha256 = "06agjzpax45gw7s9b69cz9w523nx7ksikqcg0z0vipwrp7pwrydd";
+    rev = "v${version}";
+    sha256 = "1205rhv4mizpb1nbc2sry52n7wljcwb8xp7lpazh1r1cldfayr5b";
   };
 
+  vendorSha256 = "0hv4b6k8k7xkzkjgzcm5y8pqyiwyk790a1qw18gjslkwkyw5hjf2";
+
+  # consul-template tests depend on vault and consul services running to
+  # execute tests so we skip them here
+  doCheck = false;
+
   meta = with stdenv.lib; {
     homepage = "https://github.com/hashicorp/consul-template/";
     description = "Generic template rendering and notifications with Consul";
     platforms = platforms.linux ++ platforms.darwin;
     license = licenses.mpl20;
-    maintainers = with maintainers; [ pradeepchhetri ];
+    maintainers = with maintainers; [ cpcloud pradeepchhetri ];
   };
 }