From df2a9ef584eb4c8d5069767d8b968a8c3324eb11 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 26 Jun 2025 13:49:47 +0100 Subject: [PATCH] gnu: Add go-github-com-itchyny-astgen-go. * gnu/packages/golang-xyz.scm (go-github-com-itchyny-astgen-go): New variable. Change-Id: Id34908091b9d19850186aefc8efdca035fdb6032 --- gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0a8de6f4af5fd85a1da8f928e80c76c71a2ea184..e1b2f9231d21f818c30e13258cf9d15ef1b03d69 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")