nixpkgs/pkgs/development/tools/mustache-go/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
660 B
Nix
Raw Normal View History

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 {
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
};
vendorHash = "sha256-FYdsLcW6FYxSgixZ5US9cBPABOAVwidC3ejUNbs1lbA=";
2022-05-02 03:36:38 +00:00
ldflags = [ "-s" "-w" ];
meta = with lib; {
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
};
}