2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, 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";
|
2020-12-28 18:20:36 +00:00
|
|
|
version = "1.6.3";
|
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}";
|
|
|
|
sha256 = "mQhrQcKRDtcXha7FIwCIUwWfoPGIJ5YLbA4HdatIdn8=";
|
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;
|
|
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
|
|
};
|
|
|
|
}
|