13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
26 lines
662 B
Nix
26 lines
662 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mustache-go";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cbroglie";
|
|
repo = "mustache";
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
sha256 = "sha256-A7LIkidhpFmhIjiDu9KdmSIdqFNsV3N8J2QEo7yT+DE=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-FYdsLcW6FYxSgixZ5US9cBPABOAVwidC3ejUNbs1lbA=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/cbroglie/mustache";
|
|
description = "The mustache template language in Go";
|
|
license = [ licenses.mit ];
|
|
maintainers = with maintainers; [ Zimmi48 ];
|
|
mainProgram = "mustache";
|
|
};
|
|
}
|