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";