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}";
|
2019-03-10 15:54:41 +01:00
|
|
|
version = "2019-01-31";
|
2018-05-18 01:52:24 +02:00
|
|
|
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";
|
2019-03-10 15:54:41 +01:00
|
|
|
rev = "d08324ac14fa81325830fae7eb30188ec68427f8";
|
|
|
|
sha256 = "0gpc1kcqvcn1f9mz2dww8bhrspnsk2fgxzvx398vy7a0xhxq8vhx";
|
2018-05-18 01:52:24 +02:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|