gotools: 2021-01-13 -> 0.1.10
Adds tool support for Go 1.18 generics. Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
df64c2c722
commit
fb09c4717c
|
@ -1,14 +1,13 @@
|
||||||
{ lib, buildGoModule, fetchgit }:
|
{ lib, buildGoModule, fetchgit }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gotools-unstable";
|
pname = "gotools";
|
||||||
version = "2021-01-13";
|
version = "0.1.10";
|
||||||
rev = "8b4aab62c064010e8e875d2e5a8e63a96fefc87d";
|
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
inherit rev;
|
rev = "v${version}";
|
||||||
url = "https://go.googlesource.com/tools";
|
url = "https://go.googlesource.com/tools";
|
||||||
sha256 = "1cmnm9fl2a6hiplj8s6x0l3czcw4xh3j3lvzbgccnp1l8kz8q2vm";
|
sha256 = "sha256-r71+//VhayW18uvMl/ls/8KYNbZ7uDZw3SWoqPL3Xqk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The gopls folder contains a Go submodule which causes a build failure.
|
# The gopls folder contains a Go submodule which causes a build failure.
|
||||||
|
@ -25,7 +24,7 @@ buildGoModule rec {
|
||||||
rm -rf gopls
|
rm -rf gopls
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorSha256 = "18qpjmmjpk322fvf81cafkpl3spv7hpdpymhympmld9isgzggfyz";
|
vendorSha256 = "sha256-UJIXG8WKzazNTXoqEFlT/umC40F6z2Q5I8RfxnMbsPM=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -53,4 +52,11 @@ buildGoModule rec {
|
||||||
# Do not copy this without a good reason for enabling
|
# Do not copy this without a good reason for enabling
|
||||||
# In this case tools is heavily coupled with go itself and embeds paths.
|
# In this case tools is heavily coupled with go itself and embeds paths.
|
||||||
allowGoReference = true;
|
allowGoReference = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Additional tools for Go development";
|
||||||
|
homepage = "http://go.googlesource.com/tools";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ danderson ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23089,7 +23089,9 @@ with pkgs;
|
||||||
|
|
||||||
gotest = callPackage ../development/tools/gotest { };
|
gotest = callPackage ../development/tools/gotest { };
|
||||||
|
|
||||||
gotools = callPackage ../development/tools/gotools { };
|
gotools = callPackage ../development/tools/gotools {
|
||||||
|
buildGoModule = buildGo118Module;
|
||||||
|
};
|
||||||
|
|
||||||
gotop = callPackage ../tools/system/gotop { };
|
gotop = callPackage ../tools/system/gotop { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue