guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 853f981c79100e4414a0b0ba4d5c62753f8666e1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 29 09:04:20 2025 +0000

    gnu: Add go-modernc-org-scannertest.
    
    * gnu/packages/golang-check.scm (go-modernc-org-scannertest): New variable.
    
    Change-Id: I9af5677acae27ace5d1608363d799dac148c93c4
---
 gnu/packages/golang-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 7724d6c7e4..b05aa5242c 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -3060,6 +3060,33 @@ advanced Go linter.")
      "This package provides a test corpus of C code.")
     (license license:bsd-3)))
 
+(define-public go-modernc-org-scannertest
+  (package
+    (name "go-modernc-org-scannertest")
+    (version "1.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://gitlab.com/cznic/scannertest";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06hk8pqaihhmfxfprg1fmdl2y8ffvrblm10z7qq3l921jjxc1ch7"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "modernc.org/scannertest"))
+    (propagated-inputs
+     (list go-modernc-org-lex
+           go-modernc-org-lexer))
+    (home-page "https://gitlab.com/cznic/scannertest";)
+    (synopsis "Helpers for automated testing of scanners/lexers/tokenizers")
+    (description
+     "This package provides helpers for automated testing of
+scanners/lexers/tokenizers.")
+    (license license:expat)))
+
 (define-public go-mvdan-cc-unparam
   (package
     (name "go-mvdan-cc-unparam")

Reply via email to