Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / gotemplate / default.nix
blob706fa7312d54d6038385dbb9a7b9cb4b189139dc
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "gotemplate";
5   version = "3.7.5";
7   src = fetchFromGitHub {
8     owner = "coveooss";
9     repo = pname;
10     rev = "refs/tags/v${version}";
11     hash = "sha256-BMZyq7fa57WaE0cSkGjHWxtEnbC7vEy+kLaHDoI/KZU=";
12   };
14   vendorHash = "sha256-uRB3atrJ+A1/xXvgmkyM/AKN+9VKSIDvsnPIdtsc3vc=";
16   meta = with lib; {
17     description = "CLI for go text/template";
18     changelog = "https://github.com/coveooss/gotemplate/releases/tag/v${version}";
19     license = licenses.mit;
20     maintainers = with maintainers; [ giorgiga ];
21   };