···1{ lib, buildGoModule, fetchgit }:
23buildGoModule rec {
4- pname = "gotools-unstable";
5- version = "2021-01-13";
6- rev = "8b4aab62c064010e8e875d2e5a8e63a96fefc87d";
78 src = fetchgit {
9- inherit rev;
10 url = "https://go.googlesource.com/tools";
11- sha256 = "1cmnm9fl2a6hiplj8s6x0l3czcw4xh3j3lvzbgccnp1l8kz8q2vm";
12 };
1314 # The gopls folder contains a Go submodule which causes a build failure.
···25 rm -rf gopls
26 '';
2728- vendorSha256 = "18qpjmmjpk322fvf81cafkpl3spv7hpdpymhympmld9isgzggfyz";
2930 doCheck = false;
31···53 # Do not copy this without a good reason for enabling
54 # In this case tools is heavily coupled with go itself and embeds paths.
55 allowGoReference = true;
000000056}
···1{ lib, buildGoModule, fetchgit }:
23buildGoModule rec {
4+ pname = "gotools";
5+ version = "0.1.10";
067 src = fetchgit {
8+ rev = "v${version}";
9 url = "https://go.googlesource.com/tools";
10+ sha256 = "sha256-r71+//VhayW18uvMl/ls/8KYNbZ7uDZw3SWoqPL3Xqk=";
11 };
1213 # The gopls folder contains a Go submodule which causes a build failure.
···24 rm -rf gopls
25 '';
2627+ vendorSha256 = "sha256-UJIXG8WKzazNTXoqEFlT/umC40F6z2Q5I8RfxnMbsPM=";
2829 doCheck = false;
30···52 # Do not copy this without a good reason for enabling
53 # In this case tools is heavily coupled with go itself and embeds paths.
54 allowGoReference = true;
55+56+ meta = with lib; {
57+ description = "Additional tools for Go development";
58+ homepage = "http://go.googlesource.com/tools";
59+ license = licenses.bsd3;
60+ maintainers = with maintainers; [ danderson ];
61+ };
62}