Merge pull request #219097 from r-ryantm/auto-update/gomplate

gomplate: 3.11.3 -> 3.11.4
This commit is contained in:
Nick Cao 2023-03-03 08:45:34 +08:00 committed by GitHub
commit f54f794afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,20 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gomplate";
version = "3.11.3";
owner = "hairyhenderson";
rev = "v${version}";
version = "3.11.4";
src = fetchFromGitHub {
inherit owner rev;
owner = "hairyhenderson";
repo = pname;
sha256 = "sha256-NvTwiGyBHhHiVHdWeXnJONNkHkrvsc1zmHPK8rSHaQw=";
rev = "refs/tags/v${version}";
hash = "sha256-3WTscK2nmjd7+cUKGaAi9i+C3HFpuxb7eRCn0fOHFV4=";
};
vendorSha256 = "sha256-BIcOErtlcnE70Mo6fjmA/btvSpw95RaKLqNWsgyJgpc=";
vendorHash = "sha256-X3o00WATVlWoc1Axug5ErPtLDQ+BL3CtO/QyNtavIpg=";
postPatch = ''
# some tests require network access
@ -32,13 +34,14 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X github.com/${owner}/${pname}/v3/version.Version=${rev}"
"-X github.com/${src.owner}/${pname}/v3/version.Version=${version}"
];
meta = with lib; {
description = "A flexible commandline tool for template rendering";
homepage = "https://gomplate.ca/";
maintainers = with maintainers; [ ris jlesquembre ];
changelog = "https://github.com/hairyhenderson/gomplate/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ris jlesquembre ];
};
}