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-11-26";
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 = "4c04039b1358b0f49af22a699f9193f05d80be40";
sha256 = "1qf7wpalk3n2jmcc2sw05cnwysl4rx986avykbfic5wq4fgxh9a5";
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;
};
}