diff options
Diffstat (limited to 'gnu/packages/golang-check.scm')
| -rw-r--r-- | gnu/packages/golang-check.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 7724d6c7e4..78920ba5b8 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -3058,8 +3058,37 @@ advanced Go linter.") (synopsis "Continuation of ccorpus using @code{embed.FS}") (description "This package provides a test corpus of C code.") + ;; TODO: assets directory provides a lot of example sources for testing + ;; taken from other projects, check it covered by the licenses. (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") |
