2018-08-03 15:40:38 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-05-17 23:52:24 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-23 06:57:18 +00:00
|
|
|
pname = "quicktemplate";
|
|
|
|
version = "unstable-2019-07-08";
|
2018-05-17 23:52:24 +00:00
|
|
|
goPackagePath = "github.com/valyala/quicktemplate";
|
2018-08-03 15:40:38 +00:00
|
|
|
goDeps = ./deps.nix;
|
2018-05-17 23:52:24 +00:00
|
|
|
|
2018-08-03 15:40:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valyala";
|
|
|
|
repo = "quicktemplate";
|
2019-08-23 06:57:18 +00:00
|
|
|
rev = "840e9171940bbc80bb1b925c880664cababae022";
|
|
|
|
sha256 = "1pimf5bwivklsr438if6l8by34gr48a05gl6hq07cvc8z6wl01m2";
|
2018-05-17 23:52:24 +00:00
|
|
|
};
|
|
|
|
|
2018-08-03 15:40:38 +00:00
|
|
|
enableParallelBuilding = true;
|
2018-05-17 23:52:24 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/valyala/quicktemplate";
|
|
|
|
description = "Fast, powerful, yet easy to use template engine for Go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|