From dc865e3454fc9c0a17e08ec4485c5714723a63dd Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Thu, 25 May 2023 02:41:51 +0000 Subject: [PATCH] envconsul: 0.13.1 -> 0.13.2 --- pkgs/tools/system/envconsul/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/system/envconsul/default.nix b/pkgs/tools/system/envconsul/default.nix index 5d17f07854d8..5f21a0bcafdc 100644 --- a/pkgs/tools/system/envconsul/default.nix +++ b/pkgs/tools/system/envconsul/default.nix @@ -1,17 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, testers, envconsul }: buildGoModule rec { pname = "envconsul"; - version = "0.13.1"; + version = "0.13.2"; src = fetchFromGitHub { owner = "hashicorp"; repo = "envconsul"; rev = "v${version}"; - sha256 = "sha256-9X0mSEMaLGdchf9g5EyRUsn7z6cvbG4QBPoaris7RwQ="; + hash = "sha256-GZU1lEAI3k5EUU/z4gHR8plECudwp+YYyPSk7E0NQtI="; }; - vendorSha256 = "sha256-Vunq3lsM1aSXNIr3ZMqE03f0jEI5BpWwMYhZ41tiB9M="; + vendorHash = "sha256-ehxeupO8CrKqkqK11ig7Pj4XTh61VOE4rT2T2SsChxw="; ldflags = [ "-s" @@ -19,10 +19,14 @@ buildGoModule rec { "-X github.com/hashicorp/envconsul/version.Name=envconsul" ]; + passthru.tests.version = testers.testVersion { + package = envconsul; + version = "v${version}"; + }; + meta = with lib; { homepage = "https://github.com/hashicorp/envconsul/"; description = "Read and set environmental variables for processes from Consul"; - platforms = platforms.linux ++ platforms.darwin; license = licenses.mpl20; maintainers = with maintainers; [ pradeepchhetri ]; };