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