go-tools: 2019.1.1 -> 2019.2 (#63749)
This commit is contained in:
parent
ee9ab7702c
commit
71a7fbf613
2 changed files with 7 additions and 37 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
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…
Reference in a new issue