diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-check.scm | 42 |
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.") | |||
| 3428 | test coverage and has a web user interface that will refresh automatically.") | 3428 | test 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") |
