depot/third_party/nixpkgs/pkgs/development/tools/mustache-go/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

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