2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-tools";
|
2021-05-28 09:39:13 +00:00
|
|
|
version = "2021.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dominikh";
|
|
|
|
repo = "go-tools";
|
|
|
|
rev = version;
|
2021-05-28 09:39:13 +00:00
|
|
|
sha256 = "sha256-QhTjzrERhbhCSkPzyLQwFyxrktNoGL9ris+XfE7n5nQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
vendorSha256 = "sha256-EjCOMdeJ0whp2pHZvm4VV2K78UNKzl98Z/cQvGhWSyY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00: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;
|
|
|
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|