go-tools: 2019.1.1 -> 2019.2 (#63749)
This commit is contained in:
committed by
Wael Nasreddine
parent
ee9ab7702c
commit
71a7fbf613
@@ -1,11 +1,11 @@
|
||||
{ buildGoPackage
|
||||
{ buildGoModule
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "go-tools-${version}";
|
||||
version = "2019.1.1";
|
||||
buildGoModule rec {
|
||||
pname = "go-tools";
|
||||
version = "2019.2";
|
||||
|
||||
goPackagePath = "honnef.co/go/tools";
|
||||
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
|
||||
@@ -13,17 +13,16 @@ buildGoPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "dominikh";
|
||||
repo = "go-tools";
|
||||
rev = "${version}";
|
||||
sha256 = "1zwh64x3i32p6f6808q609n63xda3bq888n43wl4alpx1b08spha";
|
||||
rev = version;
|
||||
sha256 = "0gxvrxahfgrx630fq4j629jl177qqw1kyip805k4lw607ph8m7h6";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
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 ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user