1 { lib, buildGoModule, fetchgit }:
5 version = "unstable-2020-12-08";
7 # we must allow references to the original `go` package, as golint uses
8 # compiler go/build package to load the packages it's linting.
9 allowGoReference = true;
12 url = "https://go.googlesource.com/lint";
13 rev = "83fdc39ff7b56453e3793356bcff3070b9b96445";
14 sha256 = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c=";
17 vendorHash = "sha256-dPadFoymYu2Uw2AXZfbaBfxsN8IWMuK1TrcknHco3Bo=";
19 # tests no longer work:
20 # found packages pkg (4.go) and foo (blank-import-lib.go) in /build/lint-6edffad/testdata
21 # testdata/errorf-custom.go:9:2: cannot find package "." in:
22 # /build/lint-6edffad/vendor/github.com/pkg/errors
26 homepage = "https://golang.org";
27 description = "Linter for Go source code";
28 mainProgram = "golint";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ jhillyerd tomberek ];