mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
29 lines
772 B
Nix
29 lines
772 B
Nix
{ buildGoModule
|
|
, lib
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-tools";
|
|
version = "2019.2.2";
|
|
|
|
goPackagePath = "honnef.co/go/tools";
|
|
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dominikh";
|
|
repo = "go-tools";
|
|
rev = version;
|
|
sha256 = "1vndpwg797z2gw9h9378iq99aqy7nalqx82lgvcsaqnkypdmppnd";
|
|
};
|
|
|
|
modSha256 = "0ysaq94m7pkziliz4z4dl8ad84mbn17m2hqxvs9wbw4iwhkpi7gz";
|
|
|
|
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 ];
|
|
};
|
|
}
|