From ce5fce4bceca9e23aa566b02b1f2c21a5e797f77 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 12 Jan 2025 00:01:32 +0000 Subject: [PATCH] gnu: Add go-github-com-valyala-fasttemplate. * gnu/packages/golang-xyz.scm (go-github-com-valyala-fasttemplate): New variable. Change-Id: I7b7a4314c0ae68f03bb6a25c6b71e4e95bbd7639 --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index c9f35429d0..04d6cb9012 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -14468,6 +14468,34 @@ (define-public go-github-com-valyala-bytebufferpool anti-fragmentation protection.") (license license:expat))) +(define-public go-github-com-valyala-fasttemplate + (package + (name "go-github-com-valyala-fasttemplate") + (version "1.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/valyala/fasttemplate") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12hywkz2mfvxzfpgabc53bm4jkxxmcssrr0k4wxzzrnv0v7mj6bj")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "vendor"))))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/valyala/fasttemplate")) + (propagated-inputs + (list go-github-com-valyala-bytebufferpool)) + (home-page "https://github.com/valyala/fasttemplate") + (synopsis "Template engine for Golang") + (description + "Package fasttemplate implements simple and fast template library.") + (license license:expat))) + (define-public go-github-com-vburenin-ifacemaker (package (name "go-github-com-vburenin-ifacemaker")