go-tools: 2017.2.2 -> 2019.1.1
This commit is contained in:
parent
1b3a08fa0e
commit
7a48c0258a
2 changed files with 15 additions and 6 deletions
|
@ -5,16 +5,16 @@
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "go-tools-${version}";
|
name = "go-tools-${version}";
|
||||||
version = "2017.2.2";
|
version = "2019.1.1";
|
||||||
|
|
||||||
goPackagePath = "honnef.co/go/tools";
|
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 {
|
src = fetchFromGitHub {
|
||||||
owner = "dominikh";
|
owner = "dominikh";
|
||||||
repo = "go-tools";
|
repo = "go-tools";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "1khl6szjj0skkfqp234p9rf3icik7fw2pk2x0wbj3wa9q3f84hb7";
|
sha256 = "1zwh64x3i32p6f6808q609n63xda3bq888n43wl4alpx1b08spha";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
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.";
|
description = "A collection of tools and libraries for working with Go code, including linters and static analysis.";
|
||||||
homepage = https://staticcheck.io;
|
homepage = https://staticcheck.io;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
13
pkgs/development/tools/go-tools/deps.nix
generated
13
pkgs/development/tools/go-tools/deps.nix
generated
|
@ -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";
|
goPackagePath = "github.com/kisielk/gotool";
|
||||||
fetch = {
|
fetch = {
|
||||||
|
@ -13,8 +22,8 @@
|
||||||
fetch = {
|
fetch = {
|
||||||
type = "git";
|
type = "git";
|
||||||
url = "https://go.googlesource.com/tools";
|
url = "https://go.googlesource.com/tools";
|
||||||
rev = "96e9e165b75e735822645eff82850b08c377be36";
|
rev = "2c0ae70061356820330c96810d9483beb9a6da8e";
|
||||||
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
|
sha256 = "1lsi2ssxajclj3bciz2a41v1vjv768ja3v6wnbyhxy8xphwkp4fk";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue