nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6buildGoModule rec {
7 pname = "quicktemplate";
8 version = "1.8.0";
9
10 src = fetchFromGitHub {
11 owner = "valyala";
12 repo = "quicktemplate";
13 rev = "v${version}";
14 sha256 = "cra3LZ3Yq0KNQErQ2q0bVSy7rOLKdSkIryIgQsNRBHw=";
15 };
16
17 vendorHash = null;
18
19 meta = with lib; {
20 homepage = "https://github.com/valyala/quicktemplate";
21 description = "Fast, powerful, yet easy to use template engine for Go";
22 license = licenses.mit;
23 maintainers = with maintainers; [ Madouura ];
24 mainProgram = "qtc";
25 };
26}