2019-06-25 12:17:17 -07:00
|
|
|
{ buildGoModule
|
2020-03-27 00:33:21 -07:00
|
|
|
, lib
|
2018-11-02 20:20:14 -07:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2019-06-25 12:17:17 -07:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-tools";
|
2020-10-18 03:04:46 -07:00
|
|
|
version = "2020.1.6";
|
2018-11-02 20:20:14 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dominikh";
|
|
|
|
repo = "go-tools";
|
2019-06-25 12:17:17 -07:00
|
|
|
rev = version;
|
2020-10-18 03:04:46 -07:00
|
|
|
sha256 = "1r83gx7k4fiz3wlshhniz1i39xv492nni1nvfxjfqgnmkavb6r4x";
|
2018-11-02 20:20:14 -07:00
|
|
|
};
|
|
|
|
|
2020-10-18 03:04:46 -07:00
|
|
|
vendorSha256 = "1g04rzirjv90s1i542cqi2abhgh8b74qwhp1hp1cszgb7k8nndmr";
|
2018-11-02 20:20:14 -07:00
|
|
|
|
2020-08-03 17:26:27 -07:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 00:33:21 -07:00
|
|
|
meta = with lib; {
|
2020-02-21 04:35:00 -08:00
|
|
|
description = "A collection of tools and libraries for working with Go code, including linters and static analysis";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://staticcheck.io";
|
2018-11-02 20:20:14 -07:00
|
|
|
license = licenses.mit;
|
2019-05-24 11:54:31 -07:00
|
|
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
2018-11-02 20:20:14 -07:00
|
|
|
};
|
2020-07-30 20:58:04 -07:00
|
|
|
}
|