Unverified Commit fa0ce35e authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #230086 from giorgiga/gotemplate-init

Gotemplate init
parents 4bd5602e ced4c998
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -27248,6 +27248,8 @@ with pkgs;
  gosec = callPackage ../development/tools/gosec { };
  gotemplate = callPackage ../development/tools/gotemplate { };
  gotraceui = callPackage ../development/tools/gotraceui { };
  govers = callPackage ../development/tools/govers { };