11 # using GitHub instead of https://go.googlesource.com/tools because Gitiles UI is to basic to browse
12 src = fetchFromGitHub {
16 hash = "sha256-iM6mGIQF+TOo1iV8hH9/4iOPdNiS9ymPmhslhDVnIIs=";
20 # The gopls folder contains a Go submodule which causes a build failure
21 # and lives in its own package named gopls.
25 vendorHash = "sha256-9NSgtranuyRqtBq1oEnHCPIDFOIUJdVh5W/JufqN2Ko=";
29 # Set GOTOOLDIR for derivations adding this to buildInputs
31 mkdir -p $out/nix-support
32 substitute ${./setup-hook.sh} $out/nix-support/setup-hook \
33 --subst-var-by bin $out
37 description = "Additional tools for Go development";
39 This package contains tools like: godoc, goimports, callgraph, digraph, stringer or toolstash.
41 homepage = "https://go.googlesource.com/tools";
42 license = licenses.bsd3;
43 maintainers = with maintainers; [