2018-08-03 16:40:38 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2018-05-18 00:52:24 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "quicktemplate-unstable-${version}";
|
2019-03-10 14:54:41 +00:00
|
|
|
version = "2019-01-31";
|
2018-05-18 00:52:24 +01:00
|
|
|
goPackagePath = "github.com/valyala/quicktemplate";
|
2018-08-03 16:40:38 +01:00
|
|
|
goDeps = ./deps.nix;
|
2018-05-18 00:52:24 +01:00
|
|
|
|
2018-08-03 16:40:38 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valyala";
|
|
|
|
repo = "quicktemplate";
|
2019-03-10 14:54:41 +00:00
|
|
|
rev = "d08324ac14fa81325830fae7eb30188ec68427f8";
|
|
|
|
sha256 = "0gpc1kcqvcn1f9mz2dww8bhrspnsk2fgxzvx398vy7a0xhxq8vhx";
|
2018-05-18 00:52:24 +01:00
|
|
|
};
|
|
|
|
|
2018-08-03 16:40:38 +01:00
|
|
|
enableParallelBuilding = true;
|
2018-05-18 00:52:24 +01: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;
|
|
|
|
};
|
|
|
|
}
|