go-tools: 2017.2.2 -> 2019.1.1

This commit is contained in:
Roman Volosatovs 2019-05-24 20:54:31 +02:00 committed by Frederik Rietdijk
parent 1b3a08fa0e
commit 7a48c0258a
2 changed files with 15 additions and 6 deletions

View File

@ -5,16 +5,16 @@
buildGoPackage rec {
name = "go-tools-${version}";
version = "2017.2.2";
version = "2019.1.1";
goPackagePath = "honnef.co/go/tools";
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|unused\)/testdata'';
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
src = fetchFromGitHub {
owner = "dominikh";
repo = "go-tools";
rev = "${version}";
sha256 = "1khl6szjj0skkfqp234p9rf3icik7fw2pk2x0wbj3wa9q3f84hb7";
sha256 = "1zwh64x3i32p6f6808q609n63xda3bq888n43wl4alpx1b08spha";
};
goDeps = ./deps.nix;
@ -23,7 +23,7 @@ buildGoPackage rec {
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; [ kalbasit ];
maintainers = with maintainers; [ rvolosatovs kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -1,4 +1,13 @@
[
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
rev = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005";
sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
};
}
{
goPackagePath = "github.com/kisielk/gotool";
fetch = {
@ -13,8 +22,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "96e9e165b75e735822645eff82850b08c377be36";
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
rev = "2c0ae70061356820330c96810d9483beb9a6da8e";
sha256 = "1lsi2ssxajclj3bciz2a41v1vjv768ja3v6wnbyhxy8xphwkp4fk";
};
}
]