From 50c95860ce65d716f066cdcc76230bdbfe13e7c0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 29 Oct 2025 08:07:03 +0000 Subject: [PATCH] gnu: Add go-modernc-org-ebnf. * gnu/packages/golang-xyz.scm (go-modernc-org-ebnf): New variable. Change-Id: Iece6a1efa645ee1171b4fbb828d4157310d83745 --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index bce86201d17038b938870c140fc057e2d5610c65..b64ca0ee30e6deb499d30df7672122de75a8d7b2 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -24362,6 +24362,31 @@ follows the GNU Program Argument Syntax Conventions}.") (license license:gpl3))) +(define-public go-modernc-org-ebnf + (package + (name "go-modernc-org-ebnf") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/cznic/ebnf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "089gz09mcch505fkg9dfb480dkd659dlglpyan2qpic8by4xzagw")))) + (build-system go-build-system) + (arguments + (list + #:import-path "modernc.org/ebnf")) + (home-page "https://gitlab.com/cznic/ebnf") + (synopsis "EBNF grammars for Golang") + (description + "This package provides a library for @acronym{extended Backus–Naur form, EBNF} +grammars. The input is text @code{[]byte} satisfying the following +grammar (represented itself in EBNF):.") + (license license:bsd-3))) + (define-public go-modernc-org-fileutil (package (name "go-modernc-org-fileutil")