My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/mustache-go/default.nix

26 lines
662 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mustache-go";
version = "1.3.1";
src = fetchFromGitHub {
owner = "cbroglie";
repo = "mustache";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-3mGxbgxZFL05ZKn6T85tYYjaEkEJbIUkCwlNJTwoIfc=";
};
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";
};
}