forked from mirrors/nixpkgs
Merge pull request #230086 from giorgiga/gotemplate-init
Gotemplate init
This commit is contained in:
commit
fa0ce35ee7
22
pkgs/development/tools/gotemplate/default.nix
Normal file
22
pkgs/development/tools/gotemplate/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue