1{ stdenv, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 name = "quicktemplate-unstable-${version}";
5 version = "2018-11-26";
6 goPackagePath = "github.com/valyala/quicktemplate";
7 goDeps = ./deps.nix;
8
9 src = fetchFromGitHub {
10 owner = "valyala";
11 repo = "quicktemplate";
12 rev = "4c04039b1358b0f49af22a699f9193f05d80be40";
13 sha256 = "1qf7wpalk3n2jmcc2sw05cnwysl4rx986avykbfic5wq4fgxh9a5";
14 };
15
16 enableParallelBuilding = true;
17
18 meta = with stdenv.lib; {
19 homepage = "https://github.com/valyala/quicktemplate";
20 description = "Fast, powerful, yet easy to use template engine for Go";
21 license = licenses.mit;
22 maintainers = with maintainers; [ chiiruno ];
23 platforms = platforms.all;
24 };
25}