2022-05-02 03:36:38 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-07-31 21:48:54 +00:00
|
|
|
|
2022-05-02 03:36:38 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mustache-go";
|
2022-07-29 01:18:01 +00:00
|
|
|
version = "1.4.0";
|
2018-07-31 21:48:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cbroglie";
|
|
|
|
repo = "mustache";
|
|
|
|
rev = "v${version}";
|
2022-05-02 03:36:38 +00:00
|
|
|
fetchSubmodules = true;
|
2022-07-29 01:18:01 +00:00
|
|
|
sha256 = "sha256-A7LIkidhpFmhIjiDu9KdmSIdqFNsV3N8J2QEo7yT+DE=";
|
2018-07-31 21:48:54 +00:00
|
|
|
};
|
|
|
|
|
2022-05-02 03:36:38 +00:00
|
|
|
vendorSha256 = "sha256-FYdsLcW6FYxSgixZ5US9cBPABOAVwidC3ejUNbs1lbA=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/cbroglie/mustache";
|
2018-07-31 21:48:54 +00:00
|
|
|
description = "The mustache template language in Go";
|
|
|
|
license = [ licenses.mit ];
|
2021-10-21 12:27:13 +00:00
|
|
|
maintainers = with maintainers; [ Zimmi48 ];
|
|
|
|
mainProgram = "mustache";
|
2018-07-31 21:48:54 +00:00
|
|
|
};
|
|
|
|
}
|