2019-06-25 19:17:17 +00:00
|
|
|
{ buildGoModule
|
2020-03-27 07:33:21 +00:00
|
|
|
, lib
|
2018-11-03 03:20:14 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2019-06-25 19:17:17 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-tools";
|
2023-09-14 16:43:21 +00:00
|
|
|
version = "2023.1.6";
|
2018-11-03 03:20:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dominikh";
|
|
|
|
repo = "go-tools";
|
2019-06-25 19:17:17 +00:00
|
|
|
rev = version;
|
2023-09-14 16:43:21 +00:00
|
|
|
sha256 = "sha256-Ecp3A3Go7mp8/ghMjTGqCNlRkCeEAb3fzRuwahWcM2I=";
|
2018-11-03 03:20:14 +00:00
|
|
|
};
|
|
|
|
|
2023-09-14 16:43:21 +00:00
|
|
|
vendorHash = "sha256-dUO2Iw+RYk8s+3IV2/TSKjaX61YkD/AROq3177r+wKE=";
|
2022-07-01 21:51:48 +00:00
|
|
|
|
|
|
|
excludedPackages = [ "website" ];
|
2018-11-03 03:20:14 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://staticcheck.io";
|
2018-11-03 03:20:14 +00:00
|
|
|
license = licenses.mit;
|
2022-07-01 21:51:48 +00:00
|
|
|
maintainers = with maintainers; [ rvolosatovs kalbasit smasher164 ];
|
2018-11-03 03:20:14 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|