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";
|
2021-12-07 01:17:53 +00:00
|
|
|
version = "2021.1.2";
|
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;
|
2021-12-07 01:17:53 +00:00
|
|
|
sha256 = "sha256-C6ekgrc+zvm8ZLvw1uYR3ZiMLCNSUw1ANEuM4bT4C/o=";
|
2018-11-03 03:20:14 +00:00
|
|
|
};
|
|
|
|
|
2021-05-26 07:59:38 +01:00
|
|
|
vendorSha256 = "sha256-EjCOMdeJ0whp2pHZvm4VV2K78UNKzl98Z/cQvGhWSyY=";
|
2018-11-03 03:20:14 +00:00
|
|
|
|
2020-08-04 01:26:27 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://staticcheck.io";
|
2018-11-03 03:20:14 +00:00
|
|
|
license = licenses.mit;
|
2019-05-24 19:54:31 +01:00
|
|
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
2018-11-03 03:20:14 +00:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|