nixpkgs/pkgs/development/tools/quicktemplate/default.nix

26 lines
736 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2018-05-18 00:52:24 +01:00
buildGoPackage rec {
name = "quicktemplate-unstable-${version}";
version = "2018-04-30";
goPackagePath = "github.com/valyala/quicktemplate";
goDeps = ./deps.nix;
2018-05-18 00:52:24 +01:00
src = fetchFromGitHub {
owner = "valyala";
repo = "quicktemplate";
rev = "a91e0946457b6583004fbfc159339b8171423aed";
2018-05-18 00:52:24 +01:00
sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
};
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;
};
}