2019-06-25 21:17:17 +02:00
|
|
|
{ buildGoModule
|
2018-11-03 04:20:14 +01:00
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2019-06-25 21:17:17 +02:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-tools";
|
2019-07-30 06:21:49 +02:00
|
|
|
version = "2019.2.2";
|
2018-11-03 04:20:14 +01:00
|
|
|
|
|
|
|
goPackagePath = "honnef.co/go/tools";
|
2019-05-24 20:54:31 +02:00
|
|
|
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
|
2018-11-03 04:20:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dominikh";
|
|
|
|
repo = "go-tools";
|
2019-06-25 21:17:17 +02:00
|
|
|
rev = version;
|
2019-07-30 06:21:49 +02:00
|
|
|
sha256 = "1vndpwg797z2gw9h9378iq99aqy7nalqx82lgvcsaqnkypdmppnd";
|
2018-11-03 04:20:14 +01:00
|
|
|
};
|
|
|
|
|
2019-06-25 21:17:17 +02:00
|
|
|
modSha256 = "0ysaq94m7pkziliz4z4dl8ad84mbn17m2hqxvs9wbw4iwhkpi7gz";
|
2018-11-03 04:20:14 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of tools and libraries for working with Go code, including linters and static analysis.";
|
|
|
|
homepage = https://staticcheck.io;
|
|
|
|
license = licenses.mit;
|
2019-05-24 20:54:31 +02:00
|
|
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
2018-11-03 04:20:14 +01:00
|
|
|
};
|
|
|
|
}
|