Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "gotemplate"; 5 version = "3.7.2"; 6 7 src = fetchFromGitHub { 8 owner = "coveooss"; 9 repo = pname; 10 rev = "refs/tags/v${version}"; 11 hash = "sha256-1jyTZBkt+nN52jgs5XZN22zw33i0yENDc4cW/Y1Lidc="; 12 }; 13 14 vendorHash = "sha256-WW7X3rURdvmSjbtRkeLoicsiqxsMED5el+Jl5yYk7hA="; 15 16 meta = with lib; { 17 description = "CLI for go text/template"; 18 changelog = "https://github.com/coveooss/gotemplate/releases/tag/v${version}"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ giorgiga ]; 21 }; 22}