summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-05 16:52:19 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 21:34:01 +0100
commita200d986a036ef17553ba2d0a14671e1636005fd (patch)
treed919b28ade4dcaa13e8417a0937f34f11d4fa565
parent13864ffdc1a40c2613480093791c07844a045c3a (diff)
gnu: Add go-github-com-fzipp-gocyclo.
* gnu/packages/golang-check.scm (go-github-com-fzipp-gocyclo): New variable. Relates-to: https://codeberg.org/guix/guix/pulls/5417 Change-Id: If5765e9908be2fc5c0ba192f2cb17bc088050647 Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-check.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 85870d5434..55fb44c10a 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -972,6 +972,30 @@ can use the mock clock. This is a maintained fork of benbjohnson's
tests.")
(license license:expat)))
+(define-public go-github-com-fzipp-gocyclo
+ (package
+ (name "go-github-com-fzipp-gocyclo")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fzipp/gocyclo")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1w2h8qlifrskn8g8zcwb6banr9si0vck9y8irg1r51mc98cjv36l"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/fzipp/gocyclo"))
+ (home-page "https://github.com/fzipp/gocyclo")
+ (synopsis "Calculate cyclomatic complexity in Go")
+ (description
+ "This package calculates the cyclomatic complexities of functions and
+methods in Go source code.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gdey-tbltest
(package
(name "go-github-com-gdey-tbltest")