diff options
author | Giorgio Gallo <giorgio.gallo@bitnic.it> | 2023-05-05 12:24:36 +0200 |
---|---|---|
committer | Giorgio Gallo <giorgio.gallo@bitnic.it> | 2023-05-05 16:43:27 +0200 |
commit | ced4c998272087ee62ad28918bf26d60239e95b9 (patch) | |
tree | d226c16931d1bc30ac988c9a290e6ec6f7408be7 /pkgs/development/tools/gotemplate | |
parent | f80cd0a794a85cd796f99fb1400161741e6b5ca8 (diff) |
gotemplate: init at 3.7.2
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/tools/gotemplate')
-rw-r--r-- | pkgs/development/tools/gotemplate/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/gotemplate/default.nix b/pkgs/development/tools/gotemplate/default.nix new file mode 100644 index 0000000000000..1186bd64e3e61 --- /dev/null +++ b/pkgs/development/tools/gotemplate/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "gotemplate"; + version = "3.7.2"; + + src = fetchFromGitHub { + owner = "coveooss"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-1jyTZBkt+nN52jgs5XZN22zw33i0yENDc4cW/Y1Lidc="; + }; + + vendorHash = "sha256-WW7X3rURdvmSjbtRkeLoicsiqxsMED5el+Jl5yYk7hA="; + + meta = with lib; { + description = "CLI for go text/template"; + changelog = "https://github.com/coveooss/gotemplate/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ giorgiga ]; + }; +} |