mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
Merge pull request #219097 from r-ryantm/auto-update/gomplate
gomplate: 3.11.3 -> 3.11.4
This commit is contained in:
commit
f54f794afb
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user