11 src = fetchFromGitHub {
14 rev = "refs/tags/v${version}";
15 hash = "sha256-Q/Bqb0wgKzR0WPUHge/hqIvib/TbGxv6s+eEpDLxqPY=";
18 vendorHash = "sha256-buRCG9I5zltIMTu5SLE98/pQAs3Vlfw4oz2BZXQxUAc=";
20 # This is the value reported when running `gotemplate --version`,
21 # see https://github.com/coveooss/gotemplate/issues/262
22 ldflags = [ "-X main.version=${version}" ];
25 description = "CLI for go text/template";
26 mainProgram = "gotemplate";
27 changelog = "https://github.com/coveooss/gotemplate/releases/tag/v${version}";
28 license = licenses.mit;
29 maintainers = with maintainers; [ giorgiga ];