3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #230086 from giorgiga/gotemplate-init

Gotemplate init
This commit is contained in:
Weijia Wang 2023-05-21 13:16:48 +03:00 committed by GitHub
commit fa0ce35ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };