diff options
| author | Arthur Rodrigues <arthurhdrodrigues@proton.me> | 2025-11-14 15:48:39 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-11 22:21:30 +0000 |
| commit | 111f1fd9682b2b617a922700ed79ecacf076ee76 (patch) | |
| tree | 3fb2c9b383ab1e5802a7d061df0b7e16faf8f4bb /gnu | |
| parent | 0fbc16128337898dee2b6ebcefb65fdded8b3118 (diff) | |
gnu: Add go-github-com-golang-lint.
* gnu/packages/golang-check.scm (go-github-com-golang-lint): New variable.
Change-Id: Idb37d319d44186ded97455658b6606b5a7661bad
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-check.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index cab6da0681..c73e2f16ee 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -1133,6 +1133,39 @@ reflect.DeepEqual but returns a list of differences. This is helpful when comparing complex types like structures and maps.") (license license:expat))) +;; XXX: This repository has been archived by the owner +;; on May 9, 2021. It is now read-only. It's only used +;; by go-github-com-golang-gddo. Consider to remove when nothing +;; depends on it. +(define-public go-github-com-golang-lint + (package + (name "go-github-com-golang-lint") + (version "0.0.0-20210508222113-6edffad5e616") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/lint") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n7lrr3282q3li4f06afms444qy13rfd316za0drqihakwyki2jk")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* (find-files "." "\\.go$") + ;; Module name has not been changed after been mirrored upstream. + (("golang.org/x/lint") "github.com/golang/lint")))))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/golang/lint")) + (propagated-inputs (list go-golang-org-x-tools)) + (home-page "https://github.com/golang/lint") + (synopsis "Source code of a linter for Golang") + (description "This package provides the source code of a linter for Golang.") + (license license:bsd-3))) + (define-public go-github-com-golang-mock (package (name "go-github-com-golang-mock") |
