golint: fix version, enable structuredAttrs, use hash

This commit is contained in:
coolcuber
2026-08-22 20:50:38 -04:00
parent 7ca2fc2f43
commit cdc4414183

View File

@@ -6,7 +6,9 @@
buildGoModule {
pname = "golint";
version = "unstable-2020-12-08";
version = "0-unstable-2020-12-08";
__structuredAttrs = true;
# we must allow references to the original `go` package, as golint uses
# compiler go/build package to load the packages it's linting.
@@ -15,7 +17,7 @@ buildGoModule {
src = fetchgit {
url = "https://go.googlesource.com/lint";
rev = "83fdc39ff7b56453e3793356bcff3070b9b96445";
sha256 = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c=";
hash = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c=";
};
vendorHash = "sha256-dPadFoymYu2Uw2AXZfbaBfxsN8IWMuK1TrcknHco3Bo=";