From 437851aae372ed93e2bb461fb0641a5ff5a535d8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 29 Oct 2025 11:42:42 +0000 Subject: [PATCH] gnu: Add go-modernc-org-y. * gnu/packages/golang-xyz.scm (go-modernc-org-y): New variable. Change-Id: If6c6335dc9e6a935d3ba65fc53d715be4fedef02 --- 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 4272e6658c..111a68d557 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -24752,6 +24752,35 @@ replacement for mattn/go-sqlite3.") @code{strings} package.") (license license:bsd-3))) +(define-public go-modernc-org-y + (package + (name "go-modernc-org-y") + (version "1.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/cznic/y") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vp9dzw7m64yhf8j0sxir9lpn8zis1z06ia95iah62h6p0c3q9ys")))) + (build-system go-build-system) + (arguments + (list + #:import-path "modernc.org/y")) + (propagated-inputs + (list go-modernc-org-mathutil + go-modernc-org-parser + go-modernc-org-sortutil + go-modernc-org-strutil)) + (home-page "https://gitlab.com/cznic/y") + (synopsis "Converter of @code{.y} (yacc) source files") + (description + "This package implements a functionality to convert @code{.y} (yacc[2]) +source files to data suitable for a parser generator.") + (license license:bsd-3))) + (define-public go-mvdan-cc-editorconfig (package (name "go-mvdan-cc-editorconfig")