diff options
author | Sharlatan Hellseher <[email protected]> | 2025-01-09 21:51:37 +0000 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2025-01-21 23:47:51 +0000 |
commit | 7d74323fb62fe2a5e613543d9dc408fcfb6b9489 (patch) | |
tree | ec3dad890b99ac284ead9d280e91e7503c1c6d8f /gnu/packages/golang-xyz.scm | |
parent | 3a1fdddb66c28808d2c6de6f76b1562f64e08a87 (diff) |
gnu: Add go-modernc-org-lexer.
* gnu/packages/golang-xyz.scm (go-modernc-org-lexer): New variable.
Change-Id: I1925ebdfb0ad9c86507ac526b27025368facfe49
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 15e1c87d7a..99810b517e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15319,6 +15319,33 @@ kubernetes-independent packages supplementing the (description "Package fileutil collects some file utility functions.") (license license:bsd-3))) +(define-public go-modernc-org-lexer + (package + (name "go-modernc-org-lexer") + (version "1.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/cznic/lexer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00ahagg81vbm8k9an5l8gn8plr7d53955v54mv0g811hfqxacja2")))) + (build-system go-build-system) + (arguments + (list + #:import-path "modernc.org/lexer")) + (propagated-inputs + (list go-golang-org-x-exp + go-modernc-org-fileutil)) + (home-page "https://gitlab.com/cznic/lexer") + (synopsis "Run time generator of action less scanners") + (description + "Package lexer provides generating actionless scanners (lexeme +recognizers) at run time.") + (license license:bsd-3))) + (define-public go-modernc-org-memory (package (name "go-modernc-org-memory") |