2019-06-25 21:17:17 +02:00
|
|
|
{ buildGoModule
|
2020-03-27 08:33:21 +01:00
|
|
|
, lib
|
2018-11-03 04:20:14 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2019-06-25 21:17:17 +02:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-tools";
|
2021-05-03 05:34:08 +02:00
|
|
|
version = "2020.2.4";
|
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;
|
2021-05-03 05:34:08 +02:00
|
|
|
sha256 = "sha256-yFZ01bfejbq8zQ52DbcomBcHnB6H5Ds4MJP93xQ2/jU=";
|
2018-11-03 04:20:14 +01:00
|
|
|
};
|
|
|
|
|
2021-05-03 05:34:08 +02:00
|
|
|
vendorSha256 = "sha256-Uw36Jn9RGcVIyzDOMIwi6hMQsSDWKG0kYpOOpREANyA=";
|
2018-11-03 04:20:14 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2020-02-21 13:35:00 +01:00
|
|
|
description = "A collection of tools and libraries for working with Go code, including linters and static analysis";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://staticcheck.io";
|
2018-11-03 04:20:14 +01:00
|
|
|
license = licenses.mit;
|
2019-05-24 20:54:31 +02:00
|
|
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
2018-11-03 04:20:14 +01:00
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|