mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 06:23:36 +00:00
ced4c99827
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
23 lines
589 B
Nix
23 lines
589 B
Nix
{ 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 ];
|
|
};
|
|
}
|