summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-04 15:39:22 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-06-27 01:10:59 +0100
commit4b28ab65f07baa1b290ecabb4f83bf376a4f5870 (patch)
treecb0826a8162edb87e8662cd30604221ec733b7f2
parentd13c12e0297b4884e0e8c1bf7496f6be54949b04 (diff)
gnu: Add go-github-com-gostaticanalysis-comment.
* gnu/packages/golang-check.scm (go-github-com-gostaticanalysis-comment): New variable. Relates-to: guix/guix!5417 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-check.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 245a6397182..59734b152eb 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -1701,6 +1701,43 @@ package).")
1701 license:isc ; for d3-selection 1701 license:isc ; for d3-selection
1702 )))) 1702 ))))
1703 1703
1704(define-public go-github-com-gostaticanalysis-comment
1705 (package
1706 (name "go-github-com-gostaticanalysis-comment")
1707 (version "1.5.0")
1708 (source
1709 (origin
1710 (method git-fetch)
1711 (uri (git-reference
1712 (url "https://github.com/gostaticanalysis/comment")
1713 (commit (string-append "v" version))))
1714 (file-name (git-file-name name version))
1715 (sha256
1716 (base32 "01ffgmqkya8hkgjvj2isyd6i9gbvhihfdn87hkxd4g866x8q9al5"))))
1717 (build-system go-build-system)
1718 (arguments
1719 (list
1720 #:test-flags
1721 #~(list "-vet=off"
1722 "-skip" (string-join
1723 ;; Analyze: invalid analyzer name ""
1724 (list "Test_Maps_Ignore/notignore"
1725 "Test_Maps_Ignore/ignore"
1726 "Test_Maps_Ignore/havecomment")
1727 "|"))
1728 #:import-path "github.com/gostaticanalysis/comment"))
1729 (native-inputs
1730 (list go-github-com-gostaticanalysis-testutil
1731 go-github-com-google-go-cmp))
1732 (propagated-inputs
1733 (list go-golang-org-x-tools))
1734 (home-page "https://github.com/gostaticanalysis/comment")
1735 (synopsis "Go static analysis utilities for CommentMap")
1736 (description
1737 "This package provides utilities for
1738@url{https://golang.org/pkg/go/ast/CommentMap, @code{ast.CommentMap}}.")
1739 (license license:expat)))
1740
1704(define-public go-github-com-gostaticanalysis-testutil 1741(define-public go-github-com-gostaticanalysis-testutil
1705 (package 1742 (package
1706 (name "go-github-com-gostaticanalysis-testutil") 1743 (name "go-github-com-gostaticanalysis-testutil")