summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-04 16:51:46 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-06-28 23:16:42 +0100
commite86baaf9f6513cf1b0b579e6bf7ad6b4e3313e6c (patch)
tree9789496c13a6f4bed769824483589d8459a7a1d7 /gnu
parent8f3c1e6b9f0d1938bf53cf5c5b66d012e3404921 (diff)
gnu: Add go-github-com-sonatard-noctx.
* gnu/packages/golang-check.scm (go-github-com-sonatard-noctx, go-noctx): New variables. Relates-to: guix/guix!5417 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-check.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 1400160247d..527f7c585bb 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -3428,6 +3428,33 @@ functions for writing tests in an @code{xUnit} style.")
3428test coverage and has a web user interface that will refresh automatically.") 3428test coverage and has a web user interface that will refresh automatically.")
3429 (license license:expat))) 3429 (license license:expat)))
3430 3430
3431(define-public go-github-com-sonatard-noctx
3432 (package
3433 (name "go-github-com-sonatard-noctx")
3434 (version "0.4.0")
3435 (source
3436 (origin
3437 (method git-fetch)
3438 (uri (git-reference
3439 (url "https://github.com/sonatard/noctx")
3440 (commit (string-append "v" version))))
3441 (file-name (git-file-name name version))
3442 (sha256
3443 (base32 "0xwiqk27fdrj5r680napdrhsnri4zb9vvwwanjapzrp46dlawaks"))))
3444 (build-system go-build-system)
3445 (arguments
3446 (list
3447 #:import-path "github.com/sonatard/noctx"))
3448 (propagated-inputs
3449 (list go-golang-org-x-tools
3450 go-github-com-gostaticanalysis-analysisutil))
3451 (home-page "https://github.com/sonatard/noctx")
3452 (synopsis "Find function calls with context.Context")
3453 (description
3454 "This package provides a Go linter that finds function calls without
3455@code{context.Context}.")
3456 (license license:expat)))
3457
3431(define-public go-github-com-sourcegraph-go-diff 3458(define-public go-github-com-sourcegraph-go-diff
3432 (package 3459 (package
3433 (name "go-github-com-sourcegraph-go-diff") 3460 (name "go-github-com-sourcegraph-go-diff")
@@ -5212,6 +5239,21 @@ tool."))))
5212 (inputs '()) 5239 (inputs '())
5213 (propagated-inputs '()))) 5240 (propagated-inputs '())))
5214 5241
5242(define-public go-noctx
5243 (package/inherit go-github-com-sonatard-noctx
5244 (name "go-noctx")
5245 (arguments
5246 (substitute-keyword-arguments arguments
5247 ((#:import-path _) "github.com/sonatard/noctx/cmd/noctx")
5248 ((#:install-source? _ #t) #f)
5249 ((#:skip-build? _ #t) #f)
5250 ((#:tests? _ #t) #f)
5251 ((#:unpack-path _ "") "github.com/sonatard/noctx")))
5252 (native-inputs
5253 (package-propagated-inputs go-github-com-sonatard-noctx))
5254 (inputs '())
5255 (propagated-inputs '())))
5256
5215(define-public go-nosprintfhostport 5257(define-public go-nosprintfhostport
5216 (package/inherit go-github-com-stbenjam-no-sprintf-host-port 5258 (package/inherit go-github-com-stbenjam-no-sprintf-host-port
5217 (name "go-nosprintfhostport") 5259 (name "go-nosprintfhostport")