2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-05-17 23:52:24 +00:00
|
|
|
|
2020-12-28 18:20:36 +00:00
|
|
|
buildGoModule rec {
|
2019-08-23 06:57:18 +00:00
|
|
|
pname = "quicktemplate";
|
2022-04-17 21:25:20 +00:00
|
|
|
version = "1.7.0";
|
2018-05-17 23:52:24 +00:00
|
|
|
|
2018-08-03 15:40:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valyala";
|
|
|
|
repo = "quicktemplate";
|
2020-12-28 18:20:36 +00:00
|
|
|
rev = "v${version}";
|
2022-04-17 21:25:20 +00:00
|
|
|
sha256 = "0xzsvhpllmzmyfg8sj1dpp02826j1plmyrdvqbwryzhf2ci33nqr";
|
2018-05-17 23:52:24 +00:00
|
|
|
};
|
|
|
|
|
2020-12-28 18:20:36 +00:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-05-17 23:52:24 +00:00
|
|
|
homepage = "https://github.com/valyala/quicktemplate";
|
|
|
|
description = "Fast, powerful, yet easy to use template engine for Go";
|
|
|
|
license = licenses.mit;
|
2022-04-17 23:13:36 +00:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "qtc";
|
2018-05-17 23:52:24 +00:00
|
|
|
};
|
|
|
|
}
|