2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-07-31 21:48:54 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mustache-go";
|
2021-09-23 04:48:54 +00:00
|
|
|
version = "1.3.0";
|
2018-07-31 21:48:54 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/cbroglie/mustache";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cbroglie";
|
|
|
|
repo = "mustache";
|
|
|
|
rev = "v${version}";
|
2021-09-23 04:48:54 +00:00
|
|
|
sha256 = "sha256-Z33hHOcx2K34v3j/qFD1VqeuUaqH0jqoMsVZQnLFx4U=";
|
2018-07-31 21:48:54 +00:00
|
|
|
};
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|