1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
Arthur Rodrigues
2025-11-14 15:48:39 +00:00
committed by Sharlatan Hellseher
parent 0fbc161283
commit 111f1fd968

View File

@@ -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")