From 853f981c79100e4414a0b0ba4d5c62753f8666e1 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 29 Oct 2025 09:04:20 +0000 Subject: [PATCH] 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 7724d6c7e449e546f961e3843784072671b32f5c..b05aa5242cb4df92c0307440bf9ca2dad2f28c5d 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")