gnu: Add go-modernc-org-lex.

* gnu/packages/golang-xyz.scm (go-modernc-org-lex): New variable.

Change-Id: Id52603ba75cbf1089df04deb179782c167eb79c0
This commit is contained in:
Sharlatan Hellseher 2025-10-29 08:46:18 +00:00
parent 3ae2868566
commit 0a5cf277ff
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24438,6 +24438,34 @@ BackusNaur form, EBNF} grammars.")
(description "Package fileutil collects some file utility functions.")
(license license:bsd-3)))
(define-public go-modernc-org-lex
(package
(name "go-modernc-org-lex")
(version "1.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/cznic/lex")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1fad093cdkgdwk3sf0vklk05qzkis1ivri3hig1wigv4z908nmdj"))))
(build-system go-build-system)
(arguments
(list
#:import-path "modernc.org/lex"))
(propagated-inputs
(list go-modernc-org-fileutil
go-modernc-org-lexer))
(home-page "https://gitlab.com/cznic/lex")
(synopsis "Support for a @code{*nix (f)lex} like tool on @code{.l} sources")
(description
"This package provides a support for a @code{*nix (f)lex} like tool on
@code{.l} sources. The syntax is similar to a subset of @code{}(f)lex}, see
also: @url{https://github.com/westes/flex}.")
(license license:bsd-3)))
(define-public go-modernc-org-lexer
(package
(name "go-modernc-org-lexer")