2018-08-03 17:40:38 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-05-18 01:52:24 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "quicktemplate-unstable-${version}";
|
|
|
|
version = "2018-04-30";
|
|
|
|
goPackagePath = "github.com/valyala/quicktemplate";
|
2018-08-03 17:40:38 +02:00
|
|
|
goDeps = ./deps.nix;
|
2018-05-18 01:52:24 +02:00
|
|
|
|
2018-08-03 17:40:38 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valyala";
|
|
|
|
repo = "quicktemplate";
|
|
|
|
rev = "a91e0946457b6583004fbfc159339b8171423aed";
|
2018-05-18 01:52:24 +02:00
|
|
|
sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
|
|
|
|
};
|
|
|
|
|
2018-08-03 17:40:38 +02:00
|
|
|
enableParallelBuilding = true;
|
2018-05-18 01:52:24 +02: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;
|
|
|
|
};
|
|
|
|
}
|