mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
27 lines
735 B
Nix
27 lines
735 B
Nix
{ buildGoModule
|
|
, lib
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-tools";
|
|
version = "2020.1.3";
|
|
|
|
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dominikh";
|
|
repo = "go-tools";
|
|
rev = version;
|
|
sha256 = "0pvi1mzhy6zgx4zfgdypbl4zhvgg11hl5qv7blf2qs0a96j2djhf";
|
|
};
|
|
|
|
vendorSha256 = "0nbbngsphklzhcmqafrw1im2l1vnfcma9sb4vskdpdrsadv5ss5r";
|
|
|
|
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 ];
|
|
};
|
|
} |