guix_mirror_bot pushed a commit to branch master
in repository guix.
commit e514af6838ccd0a8a395ae325f23d0c505cfe78d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 29 11:05:05 2025 +0000
gnu: Add go-modernc-org-parser.
* gnu/packages/golang-xyz.scm (go-modernc-org-parser): New variable.
Change-Id: Ibc2a1d7a95cbb71e34d37ecfcbeb714fa1bfa5ec
---
gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f9be4db6a6..4272e6658c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -24608,6 +24608,35 @@ with ccgo-generated code.")
(description "Package opt implements command-line flag parsing.")
(license license:bsd-3)))
+(define-public go-modernc-org-parser
+ (package
+ (name "go-modernc-org-parser")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/cznic/parser")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0mawi7qqd5pkpg1a9k3isnkm6c524ig83awmpc132x47qsxd2a6g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "modernc.org/parser"))
+ (propagated-inputs
+ (list go-modernc-org-golex
+ go-modernc-org-scanner
+ go-modernc-org-strutil))
+ (home-page "https://gitlab.com/cznic/parser")
+ (synopsis "Collection of Golang parsers")
+ (description
+ "This package provides an imlementation of @code{nquads} and @code{yacc}
+parsers.")
+ (license license:bsd-3)))
+
(define-public go-modernc-org-scanner
(package
(name "go-modernc-org-scanner")