2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "mustache-go";
|
2021-10-01 09:20:50 +00:00
|
|
|
version = "1.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/cbroglie/mustache";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cbroglie";
|
|
|
|
repo = "mustache";
|
|
|
|
rev = "v${version}";
|
2021-10-01 09:20:50 +00:00
|
|
|
sha256 = "sha256-Z33hHOcx2K34v3j/qFD1VqeuUaqH0jqoMsVZQnLFx4U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/cbroglie/mustache";
|
|
|
|
description = "The mustache template language in Go";
|
|
|
|
license = [ licenses.mit ];
|
2021-10-28 06:52:43 +00:00
|
|
|
maintainers = with maintainers; [ Zimmi48 ];
|
|
|
|
mainProgram = "mustache";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|