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 = "2019-01-31";
2018-05-18 00:52:24 +01:00
goPackagePath = "github.com/valyala/quicktemplate";
goDeps = ./deps.nix;
2018-05-18 00:52:24 +01:00
src = fetchFromGitHub {
owner = "valyala";
repo = "quicktemplate";
rev = "d08324ac14fa81325830fae7eb30188ec68427f8";
sha256 = "0gpc1kcqvcn1f9mz2dww8bhrspnsk2fgxzvx398vy7a0xhxq8vhx";
2018-05-18 00:52:24 +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;
};
}