summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-26 13:49:47 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-01 08:40:59 +0100
commitdf2a9ef584eb4c8d5069767d8b968a8c3324eb11 (patch)
tree62e6daf96c922e4c3c19b9799d456603fa90ef9b
parentd756fb91ce099774f688bc5fcca380572c3e7d84 (diff)
gnu: Add go-github-com-itchyny-astgen-go.
* gnu/packages/golang-xyz.scm (go-github-com-itchyny-astgen-go): New variable. Change-Id: Id34908091b9d19850186aefc8efdca035fdb6032
-rw-r--r--gnu/packages/golang-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0a8de6f4af5..e1b2f9231d2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8781,6 +8781,29 @@ ABI}.")
better way of handling YAML when marshaling to and from structs.")
(license license:expat)))
+(define-public go-github-com-itchyny-astgen-go
+ (package
+ (name "go-github-com-itchyny-astgen-go")
+ (version "0.0.0-20250520171007-4331c963041e")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/itchyny/astgen-go")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07hzzkczpwsnznwl46jdfqq77b4hjbcxsj1xa2qh8733yym10ap1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.24
+ #:import-path "github.com/itchyny/astgen-go"))
+ (home-page "https://github.com/itchyny/astgen-go")
+ (synopsis "AST build for Golang @code{interface{}} => @code{ast.Node}")
+ (description "Build Go code from arbitrary value in Go.")
+ (license license:expat)))
+
(define-public go-github-com-itchyny-timefmt-go
(package
(name "go-github-com-itchyny-timefmt-go")