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}";
|
2018-12-06 17:40:58 +00:00
|
|
|
version = "2018-11-26";
|
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";
|
2018-12-06 17:40:58 +00:00
|
|
|
rev = "4c04039b1358b0f49af22a699f9193f05d80be40";
|
|
|
|
sha256 = "1qf7wpalk3n2jmcc2sw05cnwysl4rx986avykbfic5wq4fgxh9a5";
|
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;
|
|
|
|
};
|
|
|
|
}
|