guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 279d2fe0eef1caacef855a1413639be15d18d66c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 29 10:59:05 2025 +0000
gnu: Add go-modernc-org-scanner.
* gnu/packages/golang-xyz.scm (go-modernc-org-scanner): New variable.
Change-Id: I425f878ef29f99ae7224f2de5aea344f40acf9a3
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 887229275d..f9be4db6a6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -24608,6 +24608,32 @@ with ccgo-generated code.")
(description "Package opt implements command-line flag parsing.")
(license license:bsd-3)))
+(define-public go-modernc-org-scanner
+ (package
+ (name "go-modernc-org-scanner")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/cznic/scanner")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0nj7iy8gr9f5vwmg5fvpvxsjy9668mkm9dyc8ajx8imvlx4n1lvw"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "modernc.org/scanner"))
+ (propagated-inputs
+ (list go-modernc-org-token))
+ (home-page "https://gitlab.com/cznic/scanner")
+ (synopsis "Common source code scanner for Golang")
+ (description
+ ;; XXX: Project provides nearly 0 documentation.
+ "This package provides some common scanner stuff.")
+ (license license:bsd-3)))
+
(define-public go-modernc-org-sortutil
(package
(name "go-modernc-org-sortutil")