From 640f597267075e8a11359aacaf2a926716d70c3c Mon Sep 17 00:00:00 2001 From: Giorgio Gallo Date: Fri, 11 Oct 2024 13:49:33 +0200 Subject: [PATCH] gotemplate: 3.9.1 -> 3.9.2 --- pkgs/development/tools/gotemplate/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/gotemplate/default.nix b/pkgs/development/tools/gotemplate/default.nix index b950f5865ce6..9e748ba3d8e8 100644 --- a/pkgs/development/tools/gotemplate/default.nix +++ b/pkgs/development/tools/gotemplate/default.nix @@ -2,16 +2,20 @@ buildGo123Module rec { pname = "gotemplate"; - version = "3.9.1"; + version = "3.9.2"; src = fetchFromGitHub { owner = "coveooss"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-sRCyOQmj4ti+1Qdap0Q5MLoJZLwjZtw1cYjZMGksvuA="; + hash = "sha256-7FJejArGpnmkAzbN+2BOcewLdlcsh8QblOOZjFu+uSA="; }; - vendorHash = "sha256-xtvexOmzTXjP3QsGp0aL3FdJe3mdBSCnTeM6hLq/tIo="; + vendorHash = "sha256-378oodyQG50l7qkTO5Ryt1NjFBbYW2n9by+ALNfTggI="; + + # This is the value reported when running `gotemplate --version`, + # see https://github.com/coveooss/gotemplate/issues/262 + ldflags = [ "-X main.version=${version}" ]; meta = with lib; { description = "CLI for go text/template";