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