go-tools: 2019.1.1 -> 2019.2 (#63749)
This commit is contained in:
parent
ee9ab7702c
commit
71a7fbf613
@ -1,11 +1,11 @@
|
|||||||
{ buildGoPackage
|
{ buildGoModule
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
name = "go-tools-${version}";
|
pname = "go-tools";
|
||||||
version = "2019.1.1";
|
version = "2019.2";
|
||||||
|
|
||||||
goPackagePath = "honnef.co/go/tools";
|
goPackagePath = "honnef.co/go/tools";
|
||||||
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
|
excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
|
||||||
@ -13,17 +13,16 @@ buildGoPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dominikh";
|
owner = "dominikh";
|
||||||
repo = "go-tools";
|
repo = "go-tools";
|
||||||
rev = "${version}";
|
rev = version;
|
||||||
sha256 = "1zwh64x3i32p6f6808q609n63xda3bq888n43wl4alpx1b08spha";
|
sha256 = "0gxvrxahfgrx630fq4j629jl177qqw1kyip805k4lw607ph8m7h6";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
modSha256 = "0ysaq94m7pkziliz4z4dl8ad84mbn17m2hqxvs9wbw4iwhkpi7gz";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
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; [ rvolosatovs kalbasit ];
|
maintainers = with maintainers; [ rvolosatovs kalbasit ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
29
pkgs/development/tools/go-tools/deps.nix
generated
29
pkgs/development/tools/go-tools/deps.nix
generated
@ -1,29 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
goPackagePath = "github.com/BurntSushi/toml";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/BurntSushi/toml";
|
|
||||||
rev = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005";
|
|
||||||
sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
goPackagePath = "github.com/kisielk/gotool";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/kisielk/gotool";
|
|
||||||
rev = "80517062f582ea3340cd4baf70e86d539ae7d84d";
|
|
||||||
sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
goPackagePath = "golang.org/x/tools";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://go.googlesource.com/tools";
|
|
||||||
rev = "2c0ae70061356820330c96810d9483beb9a6da8e";
|
|
||||||
sha256 = "1lsi2ssxajclj3bciz2a41v1vjv768ja3v6wnbyhxy8xphwkp4fk";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
x
Reference in New Issue
Block a user