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-09-25 15:09:40 +01:00
|
|
|
version = "2018-09-06";
|
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-09-25 15:09:40 +01:00
|
|
|
rev = "dc50ff9977a68a543145ce34e0e0030bebcc89be";
|
|
|
|
sha256 = "1980q2c5w4jhrlhf1pimc8yrkz005x3jbsi7hk4hnx6d5iy5lmb6";
|
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;
|
|
|
|
};
|
|
|
|
}
|