summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2026-01-29 08:51:11 -0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-11 22:21:30 +0000
commit8d4679ac71cf38f13d71248d072caf8a7013ade2 (patch)
treef2138c9372081f588b3f13c60133720a26e3c1f7 /gnu
parent13b8bc09a31ed2fb9ed5c82ce0c984bc77fcea7f (diff)
gnu: Add go-github-com-jhump-gopoet.
* gnu/packages/golang-xyz.scm (go-github-com-jhump-gopoet): New variable. Change-Id: Ice8de7fc7a401e51b6061e27f2ef69c11f7cac2f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ce53042d3d..ac94a2b83a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13001,6 +13001,33 @@ functionality is similar to the go builtin @code{flag} package, but
way of specifying command line options.")
(license license:bsd-3)))
+(define-public go-github-com-jhump-gopoet
+ (package
+ (name "go-github-com-jhump-gopoet")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jhump/gopoet")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wb1ldpc9l8p29xhl9nkkq4vcp4rfrz72a4xlfn1qsjdg66b1rhq"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/jhump/gopoet"))
+ (home-page "https://github.com/jhump/gopoet")
+ (synopsis "Golang API for generating .go source files")
+ (description
+ "Package gopoet is a library to assist with generating Go code. It
+includes a model of the Go language that is simpler, and thus easier to work
+with, than those provided by the @code{go/ast} and @code{go/types} packages.
+It also provides adapter methods to allow simple interoperability with
+elements from the @code{go/types} and @code{reflect} packages.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jiangxin-multi-log
(package
(name "go-github-com-jiangxin-multi-log")