2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-05-18 01:52:24 +02:00
|
|
|
|
2020-12-28 19:20:36 +01:00
|
|
|
buildGoModule rec {
|
2019-08-23 08:57:18 +02:00
|
|
|
pname = "quicktemplate";
|
2020-12-28 19:20:36 +01:00
|
|
|
version = "1.6.3";
|
2018-05-18 01:52:24 +02:00
|
|
|
|
2018-08-03 17:40:38 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valyala";
|
|
|
|
repo = "quicktemplate";
|
2020-12-28 19:20:36 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "mQhrQcKRDtcXha7FIwCIUwWfoPGIJ5YLbA4HdatIdn8=";
|
2018-05-18 01:52:24 +02:00
|
|
|
};
|
|
|
|
|
2020-12-28 19:20:36 +01:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-05-18 01:52:24 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|